def any

bend-lint-api@0.2.0.0 · shared/lists.bend:52

import bend-lint-api@0.2.0.0/shared/lists.bend as Lists
import Base

52# Whether `f` holds for some `x` of `xs`; it stops at the first.
53def any(~A: Data, ~f: A -> Bool, xs: List<&2, A>) -> Bool:
54  any.go(~A, ~f, xs, False{})

Uses (3)

Used by (2)