This function turns an array or a tuple literal of Either
"inside out".
For example:
Either<E, T>[]
becomes Either<E, T[]>
[Either<E, T1>, Either<E, T2>]
becomes Either<E, [T1, T2]>
Evaluate the Either
in an iterable and collect the Right
values in an
array.
This function turns an iterable of Either
"inside out". For example,
Iterable<Either<E, T>>
becomes Either<E, T[]>
.
Generated using TypeDoc
Evaluate the
Either
in an array or a tuple literal and collect theRight
values in an equivalent structure.