Date_Range.any
anycondition
Group: Logical
Documentation
Checks whether a condition is satisfied for any date in this range.
Arguments
condition
: AFilter_Condition
or a predicate function to test each element.
Examples
Checking that at least one date in the range is after 2020-10-01.
(Date.new 2020 10 01).up_to (Date.new 2020 10 31) . any (..Greater (Date.new 2020 10 01))