json-rules-engine
json-rules-engine copied to clipboard
not boolean expression
is it posible to implement a not
boolean expression?
Example:
conditions: {
not: {
all: [{
fact: 'gameDuration',
operator: 'equal',
value: 40
}, {
fact: 'personalFoulCount',
operator: 'greaterThanInclusive',
value: 5
}]
}
},
@liquid36 I've put up a PR addressing this issue if you wanted to take a look: https://github.com/CacheControl/json-rules-engine/pull/275