Returns a Just containing the Either value if this is of a Left
or a Nothing if this is of a Right.
{{{ Left(12).left.toMaybe // Just(12) Right(12).left.toMaybe // Nothing }}}
Binds the given function across Left if this is of a Left, otherwise
returns the original Either. Slightly different from map is that fn
is expected to return an Either.
The function to bind accross the Left
Returns the value from this Either if this is of a Left, or the given
argument if this is of a Right.
The default value
Maps the function argument through Left if this is of a Left,
otherwise returns the original Eihter.
The function to map
Generated using TypeDoc
Returns the value from this
Eitherif this is of aLeft, otherwise throws an Error.