Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ConditionalBranch

import type { ConditionalBranch } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";

A set of actions that Amazon Lex should run if the condition is matched.

interface ConditionalBranch {
condition: Condition;
name: string;
nextStep: DialogState;
response?: ResponseSpecification | null;
}

§Properties

§
condition: Condition
[src]

Contains the expression to evaluate. If the condition is true, the branch's actions are taken.

§
name: string
[src]

The name of the branch.

§

The next step in the conversation.