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

Function isInclusivelyBeforeDay

src/utils/isInclusivelyBeforeDay.js:5–8  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

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

Calls 1

isAfterDayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…