arrow-optics / arrow.optics / Getter / find
open fun find(s: S, p: (A) -> Boolean): Option<A>
open fun find(s: S, p: (A) ->
Boolean
): Option<A>
Find the focus A if it satisfies the predicate p.
Do you like Arrow?