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