(
date: DateArg<Date> & {},
options?: IsLastDayOfMonthOptions | undefined,
)
| 24 | * //=> true |
| 25 | */ |
| 26 | export function isLastDayOfMonth( |
| 27 | date: DateArg<Date> & {}, |
| 28 | options?: IsLastDayOfMonthOptions | undefined, |
| 29 | ): boolean { |
| 30 | const _date = toDate(date, options?.in); |
| 31 | return +endOfDay(_date, options) === +endOfMonth(_date, options); |
| 32 | } |
no test coverage detected