Returns whether the given date is the last day of month
Optional
the date to check
whether the date is the last day of month
isLastDayOfMonth(new Date(2023, 8, 1)); // falseisLastDayOfMonth(new Date(2023, 8, 30)); // true Copy
isLastDayOfMonth(new Date(2023, 8, 1)); // falseisLastDayOfMonth(new Date(2023, 8, 30)); // true
Returns whether the given date is the last day of month