(op: Operator)
| 56 | export type Operator = LogicalOperator | NegativeOperator | ConditionOperator; |
| 57 | |
| 58 | export const isNegativeOperator = (op: Operator): op is NegativeOperator => { |
| 59 | return NegativeOperatorList.includes(op as NegativeOperator); |
| 60 | }; |
| 61 | export const isLogicalOperator = (op: Operator): op is LogicalOperator => { |
| 62 | return LogicalOperatorList.includes(op as LogicalOperator); |
| 63 | }; |