UNPKG

@voiceflow/google-types

Version:
7 lines (6 loc) 508 B
import { BaseNode, BaseUtils } from '@voiceflow/base-types'; export const isSpeak = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.SPEAK); export const isStream = BaseUtils.node.createNodeTypeguard(BaseNode.NodeType.STREAM); 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);