UNPKG

automation-events

Version:

A module which provides an implementation of an automation event list.

7 lines (5 loc) 286 B
import { ISetTargetAutomationEvent } from '../interfaces'; import { TAutomationEvent } from '../types'; export const isSetTargetAutomationEvent = (automationEvent: TAutomationEvent): automationEvent is ISetTargetAutomationEvent => { return automationEvent.type === 'setTarget'; };