arrow-optics / arrow.optics / Fold / find

find

open fun find(s: S, p: (A) -> Boolean): Option<A>

Find the first element matching the predicate, if one exists.

Do you like Arrow?

Arrow Org
<