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