partitionEithersEither method

(List<E>, List<A>) partitionEithersEither()

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

Implementation

(List<E>, List<A>) partitionEithersEither() =>
    Either.partitionEithers(toList());