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