The type of the value contained in the monad
Converts this monad to an Either.
Conversion rules:
(err: Error) => E to thread the underlying Error's context into the Left.The value to use for the Left case when the source is empty/none/failure
An Either with the value as Right or the provided leftValue as Left
Converts this monad to a Try.
Conversion rules:
A Try containing Success with the value or Failure with an appropriate error
Interface for types that can be reshaped (converted) between different monadic containers. Provides standard conversion methods to transform between Option, Either, List, and Try types.
Example
Example
Example
Example