Function: rangeContainsModifiers()
rangeContainsModifiers(
range,modifiers,dateLib):boolean
Defined in: src/utils/rangeContainsModifiers.ts:27
Checks if a date range contains dates that match the given modifiers.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
range | { from: Date; to: Date; } | undefined | The date range to check. |
range.from | Date | undefined | - |
range.to | Date | undefined | - |
modifiers | Matcher | Matcher[] | undefined | The modifiers to match against. |
dateLib | DateLib | defaultDateLib | The date utility library instance. |
Returns
boolean
true if the range contains matching dates, otherwise false.
Since
9.2.2