I want to be able to define rules that given a array (e.g. of strings) I can check that it contains a specific element.
Samples:
("A", "B", "C") contains "B" would evaluate to true
("A", "B", "C") contains "Z" would evaluate to false
Describe the solution you'd like
Allow receiving an array of the supported primitive types (strings, integers, decimals, and booleans) a condition value.
When receiving a condition value of type array and applying the contains operator, evaluate contains as a "contains exactly case sensitive" using the operand defined in the rule.
Are you able to help bring it to life and contribute with a Pull Request?
Is your request related to a problem you have?
I want to be able to define rules that given a array (e.g. of strings) I can check that it contains a specific element.
Samples:
Describe the solution you'd like
Allow receiving an array of the supported primitive types (strings, integers, decimals, and booleans) a condition value.
When receiving a condition value of type array and applying the contains operator, evaluate contains as a "contains exactly case sensitive" using the operand defined in the rule.
Are you able to help bring it to life and contribute with a Pull Request?
Yes
Additional context
No response