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