Skip to main content
Version: 10.0.0-next.6

Function: rangeIncludesDate()

rangeIncludesDate(range, date, excludeEnds?, dateLib?): boolean

Defined in: packages/react-day-picker/src/utils/rangeIncludesDate.ts:15

Checks if a given date is within a specified date range.

Parameters

Returns

boolean

true if the date is within the range, otherwise false.

Since

9.0.0