Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Function [other Function type actions]
List [operators of similar scope]
Query Boolean [other Query Boolean operators]
8.1.0
List/Set.any(element, expression)
New to v8.1.0, this is true if any element in the list matches the expression.
$MyList.any(x,x>5)
is true if any element in $MyList is greater than 5.
If the target list or set is empty, .any() always returns false, and .every() always returns true.