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

Function isNextMonth

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

Source from the content-addressed store, hash-verified

3import isSameMonth from './isSameMonth';
4
5export default function isNextMonth(a, b) {
6 if (!moment.isMoment(a) || !moment.isMoment(b)) return false;
7 return isSameMonth(a.clone().add(1, 'month'), b);
8}

Callers 2

Calls 1

isSameMonthFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…