FpdartSequenceIterableEither<E, A> extension

on

Methods

leftsEither() List<E>

Available on Iterable<Either<E, A>>, provided by the FpdartSequenceIterableEither extension

Extract all the Left values from a List<Either<E, A>>.
partitionEithersEither() → (List<E>, List<A>)

Available on Iterable<Either<E, A>>, provided by the FpdartSequenceIterableEither extension

Extract all the Left and Right values from a List<Either<E, A>> and return them in two partitioned List inside a record.
rightsEither() List<A>

Available on Iterable<Either<E, A>>, provided by the FpdartSequenceIterableEither extension

Extract all the Right values from a List<Either<E, A>>.
sequenceEither() Either<E, List<A>>

Available on Iterable<Either<E, A>>, provided by the FpdartSequenceIterableEither extension

Convert a List<Either<E, A>> to a single Either<E, List<A>>.