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