def any
import bend-lint-api@0.2.0.0/shared/lists.bend as Listsimport 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{})
import bend-lint-api@0.2.0.0/shared/lists.bend as Listsimport 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{})