arrow-optics / arrow.optics / arrow.core.Option / toPEither

toPEither

fun <A, B> Option.Companion.~~toPEither~~(): PIso<Option<A>, Option<B>, Either<Unit, A>, Either<Unit, B>> Deprecated: Use the optionToPEither function exposed in the Iso’ companion object

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

Do you like Arrow?

Arrow Org
<