Represents a successful computation with a result of type T.
Gets the error of computation when failed, or null otherwise.
null
Result of the computation.
Gets the result of computation when successful, throws otherwise.
Gets the result of the computation when successful, or a given default value otherwise.
Gets the result of the computation when successful, or null otherwise.
Indicates whether the computation was successful.
Maps the result of this computation using the given f function.