(a, b)
| 3 | import isSameMonth from './isSameMonth'; |
| 4 | |
| 5 | export default function isPrevMonth(a, b) { |
| 6 | if (!moment.isMoment(a) || !moment.isMoment(b)) return false; |
| 7 | return isSameMonth(a.clone().subtract(1, 'month'), b); |
| 8 | } |
no test coverage detected
searching dependent graphs…