any
Checks if any of the elements in the given array match the given predicate
Arguments
array
- The array to check predicate(element, index)
- The predicate to check against
Example
{
"$template": {
"$comment": "The field below will be true",
"test": "{{[1, 2, 3, 5, 8, 10].any(x => x > 5)}}"
}
}