Skip to main content
Version: 10.0.0-next.6

Function: dateMatchModifiers()

dateMatchModifiers(date, matchers, dateLib?): boolean

Defined in: packages/react-day-picker/src/utils/dateMatchModifiers.ts:23

Checks if a given date matches at least one of the specified Matcher.

Parameters

Returns

boolean

true if the date matches any of the matchers, otherwise false.