All match: Validate every item in a list

Ivan Ng
Ivan Ng Administrator
edited December 19 in Tips and tricks

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
image-6a1cbe2f98a9a-42f9.png

  • JSON list:
    • Validate that all employee records have a valid age:

image-271f8bd865e46-eb52.png

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.

Back to main post