Tuple2EitherOps<EE, A, B> extension
Functions available on a tuple of Eithers.
Methods
-
mapN<
C> (Function2< A, B, C> fn) → Either<EE, C> -
Available on (Either<
AppliesEE, A> , Either<EE, B> ), provided by the Tuple2EitherOps extensionfn
to the values of each respective tuple member if all values are a Right. If any item is a Left, the first Left encountered will be returned. -
tupled(
) → Either< EE, (A, B)> -
Available on (Either<
If all items of this tuple are a Right, the respective items are turned into a tuple and returned as a Right. If any item is a Left, the first Left encountered is returned.EE, A> , Either<EE, B> ), provided by the Tuple2EitherOps extension