arrow-optics / arrow.optics / PPrism / exist

exist

open fun exist(s: S, p: (A) -> Boolean): Boolean

Check if there is a focus and it satisfies the predicate

Do you like Arrow?

Arrow Org
<