Type guard to check if an action step is an event-based action step. Use with .filter() to get properly typed EventActionStep arrays.
The action step to check
True if the step is an event action step
const eventSteps = actionSteps.filter(isEventActionStep); // EventActionStep[] Copy
const eventSteps = actionSteps.filter(isEventActionStep); // EventActionStep[]
Type guard to check if an action step is an event-based action step. Use with .filter() to get properly typed EventActionStep arrays.