MCPcopy Index your code
hub / github.com/react-dates/react-dates / isOutsideRange

Function isOutsideRange

test/components/DayPickerRangeController_spec.jsx:4489–4489  ·  view source on GitHub ↗
(day)

Source from the content-addressed store, hash-verified

4487 describe('props.focusedInput === END_DATE', () => {
4488 it('returns true if arg - props.minimumNights is outside allowed range', () => {
4489 const isOutsideRange = (day) => !isInclusivelyAfterDay(day, today);
4490 const testDate = moment(today).add(MIN_NIGHTS - 1, 'days');
4491 const wrapper = shallow(<DayPickerRangeController
4492 focusedInput={END_DATE}

Callers

nothing calls this directly

Calls 1

isInclusivelyAfterDayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…