arrow-optics / arrow.optics / PIso / optionToEither

optionToEither

@JvmStatic fun <A> optionToEither(): Iso<Option<A>, Either<Unit, A>>

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

Do you like Arrow?

Arrow Org
<