Converts an Either<E, A> to a Validated<E, A>.
Either<E, A>
Validated<E, A>
Converts a nullable A? to a Validated<E, A>, where the provided ifNull output value is returned as Invalid when the specified value is null.
A?
ifNull
Converts an Option<A> to a Validated<E, A>, where the provided ifNone output value is returned as Invalid when the specified Option is None.
Option<A>
ifNone
Option
None
Lifts two functions to the Bifunctor type.