Skip to content

Any

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

Return True if the predicate holds for at least one element of the collection (or if any element is True when no predicate is given). To test membership of a specific value, use `Contains(xs, v)` — the structural-identity specialization `Any(xs, (e) => e === v)`.

Any(collection<T>, predicate: ((T) any -> boolean)?) -> boolean where Tas compute-engine declares it

Domain: Compute engine