Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/proactive / / isWithinActiveHours
Function: isWithinActiveHours()
ts
function isWithinActiveHours(hours, now): boolean;Defined in: packages/proactive/src/active-hours.ts:51
true when now (epoch ms) falls inside the window's wall clock. Pure and deterministic for a given clock value.
Parameters
| Parameter | Type |
|---|---|
hours | ActiveHours |
now | number |
Returns
boolean