Range.any
anycondition
Group: Logical
Documentation
Checks whether a condition is satisfied for any number in this range.
Arguments
condition
: AFilter_Condition
or a predicate function to test each element.
Examples
Checking that at least one number in the range is greater than 10.
1.up_to 100 . any (..Greater than=10)
Checking that at least one number in the range is even.
1.up_to 100 . any (x-> x%2 == 0)