arrow-core-data / arrow.core / Validated / fromEither

fromEither

fun <E, A> fromEither(e: Either<E, A>): Validated<E, A>

Converts an Either<A, B> to an Validated<A, B>.

Do you like Arrow?

Arrow Org
<