expr-lang/expr

Issue with Not Operator Handling in Binary Node Expressions

Closed this issue · 0 comments

This issue pertains to the handling of the "not" operator within binary node expressions. Currently, there seems to be a discrepancy or error in how the "not" operator is processed, leading to unexpected behavior or incorrect results in certain contexts. #590

Example:

-1 not in [1, 2, 3, 4] // Expectation: true Output: false
1 * 8 not in [1, 2, 3, 4] // Expectation: true Output: false
'foo' + 'bar' not matches 'foobar' // Expectation: false Output: true