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

ConditionalSpecification

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

Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

interface ConditionalSpecification {
active: boolean;
conditionalBranches: ConditionalBranch[];
defaultBranch: DefaultConditionalBranch;
}

§Properties

§
active: boolean
[src]

Determines whether a conditional branch is active. When active is false, the conditions are not evaluated.

§
conditionalBranches: ConditionalBranch[]
[src]

A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.

§

The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.