Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/proactive / / validateActiveHours

Function: validateActiveHours()

ts
function validateActiveHours(hours): void;

Defined in: packages/proactive/src/active-hours.ts:37

Validate an ActiveHours declaration eagerly. Throws TypeError on a malformed time or an unknown timezone - at construction time, never at first fire.

Parameters

ParameterType
hoursActiveHours

Returns

void