Function: hasWorkflowOnEvent()
hasWorkflowOnEvent(
source:string,targetEventName:string):boolean
Defined in: _internal/workflow-on-events.ts:51
Returns true when the requested event is declared inside the top-level
on: block of a workflow source, including inline and nested YAML forms.
Parametersâ
sourceâ
string
targetEventNameâ
string
Returnsâ
boolean