Any match: Find just one match in a list

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

What it does:

Checks whether at least one item in a list satisfies a condition defined by a Boolean-returning function.

Where it works:

  • Comma-separated list
  • JSON list

Business Use Cases & Examples:

  • Comma-separated list
    • Flag if any items in the list are a UK postcode:
image-4ea38674d0e26-bfa8.png
  • JSON list
    • Identify if the shopping cart contains a promotional item:
image-bb7e22838a2c8-cfb5.png

This is ideal for quick checks, alerts, or conditional logic where just one match is enough.

Coming up next: Filter list – how to keep only the items you care about.

Back to main post