exists

open fun exists(source: S, predicate: (focus: A) -> Boolean): Boolean(source)

Check whether at least one element satisfies the predicate.

If there are no elements, the result is false.