Skip to content

Scheduling infrastructure for absolutely everyone.

225 B
Raw Blame
export const isMonthChange = (currentMonth: number, nextMonth: number) => {
  if (isNaN(currentMonth) || isNaN(nextMonth)) {
    return false;
  }

  if (currentMonth === nextMonth) {
    return false;
  }

  return true;
};