IsDialogActiveFunction class

Defines isDialogActive(id) expression function. This expression will return true if any of the dialog ids is on the dialog execution stack.

Example

isDialogActive('dialog1')

Example

isDialogActive('dialog1', 'dialog2', 'dialog3')

Extends

ExpressionEvaluator

Constructors

IsDialogActiveFunction()

Intializes a new instance of the IsDialogActiveFunction class.

Properties

functionAlias

Function identifier alias.

functionName

Function identifier name.

Inherited Properties

negation

Sets the evaluator that is a negation of this one.

returnType

Type expected by evaluating the expression.

tryEvaluate

Evaluate an expression.

type

Gets the expression type for evaluator.

validateExpression

Validate an expression.

Constructor Details

IsDialogActiveFunction()

Intializes a new instance of the IsDialogActiveFunction class.

new IsDialogActiveFunction()

Property Details

functionAlias

Function identifier alias.

static functionAlias: "isActionActive" = "isActionActive"

Property Value

"isActionActive"

functionName

Function identifier name.

static functionName: "isDialogActive" = "isDialogActive"

Property Value

"isDialogActive"

Inherited Property Details

negation

Sets the evaluator that is a negation of this one.

negation: ExpressionEvaluator

Property Value

ExpressionEvaluator

Inherited From ExpressionEvaluator.negation

returnType

Type expected by evaluating the expression.

returnType: ReturnType

Property Value

ReturnType

Inherited From ExpressionEvaluator.returnType

tryEvaluate

Evaluate an expression.

tryEvaluate: (expression: Expression, state: MemoryInterface, options: Options) => ValueWithError

Property Value

(expression: Expression, state: MemoryInterface, options: Options) => ValueWithError

Inherited From ExpressionEvaluator.tryEvaluate

type

Gets the expression type for evaluator.

type: string

Property Value

string

Inherited From ExpressionEvaluator.type

validateExpression

Validate an expression.

validateExpression: (expression: Expression) => void

Property Value

(expression: Expression) => void

Inherited From ExpressionEvaluator.validateExpression