This commit is contained in:
Jan Prochazka 2022-02-14 19:40:17 +01:00
parent ef33ebe1eb
commit e84b76e4d1
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ export function evaluateCondition(condition: Condition, values) {
case '=':
return left == right;
case '!=':
case '<>':
return left != right;
case '<=':
return left <= right;

View File

@ -58,7 +58,7 @@ export interface UnaryCondition {
export interface BinaryCondition {
conditionType: 'binary';
operator: '=' | '!=' | '<' | '>' | '>=' | '<=';
operator: '=' | '!=' | '<>' | '<' | '>' | '>=' | '<=';
left: Expression;
right: Expression;
}