(
date: DateArg<Date> & {},
options?: IsThisHourOptions,
)
| 29 | * //=> true |
| 30 | */ |
| 31 | export function isThisHour( |
| 32 | date: DateArg<Date> & {}, |
| 33 | options?: IsThisHourOptions, |
| 34 | ): boolean { |
| 35 | return isSameHour( |
| 36 | toDate(date, options?.in), |
| 37 | constructNow(options?.in || date), |
| 38 | ); |
| 39 | } |
no test coverage detected