Variable isWithinHoursConst
isWithinHours: (probe: string | number, from: string, to: string) => boolean
Type Declaration
-
- (probe: string | number, from: string, to: string): boolean
-
Parameters
- probe: string | number
- from: string
- to: string
Returns boolean
Inside a window? Overnight ranges handled; probe = 'HH:MM' or epoch ms.