Tuple15EitherOps<EE, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> extension

Functions available on a tuple of Eithers.

on

Methods

mapN<P>(Function15<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> fn) Either<EE, P>

Available on (Either<EE, A>, Either<EE, B>, Either<EE, C>, Either<EE, D>, Either<EE, E>, Either<EE, F>, Either<EE, G>, Either<EE, H>, Either<EE, I>, Either<EE, J>, Either<EE, K>, Either<EE, L>, Either<EE, M>, Either<EE, N>, Either<EE, O>), provided by the Tuple15EitherOps extension

Applies fn 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, C, D, E, F, G, H, I, J, K, L, M, N, O)>

Available on (Either<EE, A>, Either<EE, B>, Either<EE, C>, Either<EE, D>, Either<EE, E>, Either<EE, F>, Either<EE, G>, Either<EE, H>, Either<EE, I>, Either<EE, J>, Either<EE, K>, Either<EE, L>, Either<EE, M>, Either<EE, N>, Either<EE, O>), provided by the Tuple15EitherOps extension

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.