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