Function: dateMatchModifiers()
dateMatchModifiers(
date,matchers,dateLib):boolean
Defined in: src/utils/dateMatchModifiers.ts:23
Checks if a given date matches at least one of the specified Matcher.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
date | Date | undefined | The date to check. |
matchers | Matcher | Matcher[] | undefined | The matchers to check against. |
dateLib | DateLib | defaultDateLib | The date utility library instance. |
Returns
boolean
true if the date matches any of the matchers, otherwise false.