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

Function isAfterDay

src/utils/isAfterDay.js:6–9  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4import isSameDay from './isSameDay';
5
6export default function isAfterDay(a, b) {
7 if (!moment.isMoment(a) || !moment.isMoment(b)) return false;
8 return !isBeforeDay(a, b) && !isSameDay(a, b);
9}

Callers 9

isAfterDay_spec.jsFile · 0.85
constructorMethod · 0.85
onDayClickMethod · 0.85
onDayMouseEnterMethod · 0.85
onDayMouseLeaveMethod · 0.85
getFirstFocusableDayMethod · 0.85
getFirstFocusableDayMethod · 0.85
isInclusivelyBeforeDayFunction · 0.85
isDayVisibleFunction · 0.85

Calls 2

isBeforeDayFunction · 0.85
isSameDayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…