Data structure that represents a left value
Converts an Either to an Option
Refer Either.biChain
It uses the left function to chain over object of Left type and the right function to chain over an object of Right type.
Alias for Either.chainR
Sequentially converts a Left type to another Left type.
Sequentially converts a Right type to another Right type.
Refer Either.fold
Refer Either.getLeftOrElse
Refer Either.getRightOrElse
Alias for Either.mapR
Transforms the left value
Transforms the right value
Refer Either.reduce
Creates an Either from Option
Returns true if the either is of Left type.
Returns true if the either is of Right type.
Creates an object of Left type.
Creates an object of Right type.
Creates a new Either type from a function that could fail with an error.
Generated using TypeDoc
Data structure that represents a left value