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