All match: Validate every item in a list
Ivan Ng
Administrator
In this post, we will take a closer look at All match, one of the higher order functions now available in Aperture Data studio v3.2.
What it does:
All match checks whether every item in a list satisfies a condition defined by a Boolean-returning function.
Where it works:
- Comma-separated lists
- JSON lists
Business Use Cases & Examples:
- Comma-separated list:
- Ensure that all ages in the list do not exceed 59
- JSON list:
- Validate that all employee records have a valid age:
This is perfect for validation scenarios where consistency across all items is critical.
Next up: AnyMatch – when you only need one item to pass the test.
0

