rulepilot
rulepilot copied to clipboard
expected to not require 'all, any, none' for condition?
Hi, awesome library btw!
I wanted to ask if it was intentional that you readme shows using conditions without they all/any/none keyword. I'm scanning the code and I see that it will return false in any event that one is not present, although the docs show this as an example:
const rule: Rule = {
conditions: [
{
field: "profile.age",
operator: ">=",
value: 18,
},
],
};