arrow-optics / arrow.optics / PTraversal / option

option

@JvmStatic fun <A> option(): Traversal<Option<A>, A>

Traversal for Option that has focus in each arrow.core.Some.

Receiver PTraversal.Companion to make it statically available.

Return Traversal with source Option and focus in every arrow.core.Some of the source.

Do you like Arrow?

Arrow Org
<