Function isEventActionStep

  • Type guard to check if an action step is an event-based action step. Use with .filter() to get properly typed EventActionStep arrays.

    Parameters

    Returns step is EventActionStep

    True if the step is an event action step

    const eventSteps = actionSteps.filter(isEventActionStep); // EventActionStep[]