UNPKG

221 BJavaScriptView Raw
1import moment from 'moment';
2
3import isBeforeDay from './isBeforeDay';
4
5export default function isInclusivelyAfterDay(a, b) {
6 if (!moment.isMoment(a) || !moment.isMoment(b)) return false;
7 return !isBeforeDay(a, b);
8}