arrow-core-data / arrow.core / kotlin.collections.Iterable / separateEither
fun <A, B> Iterable<Either<A, B>>.separateEither(): Pair<List<A>, List<B>>
Separate the inner Either values into the Either.Left and Either.Right.
Receiver Iterable of Validated
Return a tuple containing List with Either.Left and another List with its Either.Right values.
Do you like Arrow?
✖