arrow-optics / arrow.optics / arrow.core.Option / toEither

toEither

fun <A> Option.Companion.~~toEither~~(): Iso<Option<A>, Either<Unit, A>> Deprecated: Use the optionToEither 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
<