arrow-optics / arrow.optics / PPrism / getOption

getOption

open fun getOption(s: S): Option<A>

Get the focus or Option.None if focus cannot be seen

Do you like Arrow?

Arrow Org
<