All
Whether every element of a collection satisfies a predicate.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
AllWolfram LanguageAllTrue!All(xs, predicate) if holds for every element of , else .All(xs, predicate, level)the elements at exactly level tested instead of the top-level ones.Typed signatures
| Type | Package | Applies |
|---|---|---|
(collection<T>, predicate: ((T) any -> boolean)?) -> boolean where T | combinatoricsreplaces compute-engine | always |
(collection<T>, predicate: ((T) any -> boolean)?) -> boolean where T | compute-engine | always |
Examples
Scope #
About
| Examples | 14 |
|---|---|
| Checked against | Wolfram Language 13 agree1 differ |
| Crosswalk | FungrimWolfram Language |