Array.all
allcondition
Group: Logical
Documentation
Checks whether a condition holds for all elements in this array.
Arguments
condition
: AFilter_Condition
or a predicate function to test each element.
Examples
Check if all elements in the array are less than zero.
[-1, 1, 5, 8].to_array.all (..Less than=0)
Check if all elements in the array are even.
[-1, 1, 5, 8].to_array.all (x-> x%2 == 0)