Result
Class that represents either the Success outcome with a value of type SuccessType or Failure with a value of type FailureType.
Types
Link copied to clipboard
Represents a failed operation that resulted in a FailureType.
Link copied to clipboard
Represents a successful operation that resulted in a returned SuccessType.
Functions
Link copied to clipboard
Returns a failure value if the result is Failure.
Link copied to clipboard
Returns a value if the result is Success.