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
Is |
Intializes a new instance of the IsDialogActiveFunction class. |
Properties
function |
Function identifier alias. |
function |
Function identifier name. |
Inherited Properties
negation | Sets the evaluator that is a negation of this one. |
return |
Type expected by evaluating the expression. |
try |
Evaluate an expression. |
type | Gets the expression type for evaluator. |
validate |
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