Expression
[ Interface ]
export interface Expression {
compare1: IFunction.Value;
compare2: IFunction.Value;
compareOperator: '==' | '===' | '!=' | '!==' | '<' | '<=' | '>' | '>=';
logic: 'AND' | 'OR' | null;
}
Logical expression that is used in a Condition type, for example.
Properties
Name | Type | Description |
---|---|---|
compare1 | Left side of the comparison expression. | |
compare2 | Right side of the comparison expression. | |
compareOperator | '==' | '===' | '!=' | '!==' | '<' | '<=' | '>' | '>=' | Comparison operator that is applied to the left and right sides. |
logic | 'AND' | 'OR' | null | Logic link to the following expression. |
Available from version 1.12 |