arrow-optics / arrow.optics / arrow.core.Option
none | Prism to focus into an arrow.core.Nonefun <A> Option.Companion.~~none~~(): Prism <Option<A>, Unit > |
PSome | PPrism to focus into an arrow.core.Somefun <A, B> Option.Companion.~~PSome~~(): PPrism <Option<A>, Option<B>, A, B> |
some | Prism to focus into an arrow.core.Somefun <A> Option.Companion.~~some~~(): Prism <Option<A>, A> |
toEither | Iso that defines the equality between and arrow.core.Option and arrow.core.Eitherfun <A> Option.Companion.~~toEither~~(): Iso <Option<A>, Either< Unit , A>> |
toNullable | PIso that defines the isomorphic relationship between Option and the nullable platform type.fun <A> Option.Companion.~~toNullable~~(): Iso <Option<A>, A?> |
toPEither | Iso that defines the equality between and arrow.core.Option and arrow.core.Eitherfun <A, B> Option.Companion.~~toPEither~~(): PIso <Option<A>, Option<B>, Either< Unit , A>, Either< Unit , B>> |
toPNullable | PIso that defines the equality between Option and the nullable platform type.fun <A, B> Option.Companion.~~toPNullable~~(): PIso <Option<A>, Option<B>, A?, B?> |
Do you like Arrow?
✖