ALL function

Synopsis
This function evaluates a condition on the elements of an array and returns true if all elements satisfy it.
Remarks
Variations
ALL(SourceArray, Condition)
Returns true if all elements satisfy the condition.
Parameters
SourceArray

Specifies the array to work with.

Supported types: Boolean array; Numeric array; String array; Point array; Object array.
Condition

Specifies the condition that all elements must satisfy for the function to return true.

Supported types: Boolean.
Returns
Returned types: Boolean.
Examples
1.

The following example returns true, because all elements of the array are greater than 5.

ALL([6, 90, 1000, 45], Item > 5)
2.

In this example, one of the elements is less than 5, so it fails the condition and the function returns false.

ALL([4, 90, 1000, 45], Item > 5)