UNPKG

@voiceflow/voiceflow-types

Version:

Voiceflow 'voiceflow' project types

6 lines (5 loc) 422 B
import { BaseNode, BaseUtils } from '@voiceflow/base-types'; export const isSpeak = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.SPEAK); export const isCapture = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.CAPTURE); export const isCaptureV2 = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.CAPTURE_V2); export const isInteraction = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.INTERACTION);