Skip to content

Function: triggerKey()

function triggerKey(doc): string | null;

The trigger's identifying value: the cron expression (cron), the hook name (hook) or the dispatch tool name (tool). Null when the trigger is missing/unknown.

Parameters

Parameter Type
doc Document

Returns

string | null