EitherTuple3Ops<E, T1, T2, T3> extension

Provides additional functions on an Either where the right value is a 3 element tuple.

on

Methods

ensureN(Function3<T1, T2, T3, bool> p, Function0<E> onFailure) Either<E, (T1, T2, T3)>

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension

filterOrElseN(Function3<T1, T2, T3, bool> p, Function0<E> zero) Either<E, (T1, T2, T3)>

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension

flatMapN<T4>(Function3<T1, T2, T3, Either<E, T4>> f) Either<E, T4>

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension

foldN<T4>(Function1<E, T4> f, Function3<T1, T2, T3, T4> g) → T4

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension

foreachN(Function3<T1, T2, T3, void> f) → void

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension

mapN<T4>(Function3<T1, T2, T3, T4> f) Either<E, T4>

Available on Either<E, (T1, T2, T3)>, provided by the EitherTuple3Ops extension