arrow-optics / arrow.optics / PIso / optionToPEither

optionToPEither

@JvmStatic fun <A, B> optionToPEither(): PIso<Option<A>, Option<B>, Either<Unit, A>, Either<Unit, B>>

Iso that defines the equality between and arrow.core.Option and arrow.core.Either

Do you like Arrow?

Arrow Org
<