FUNCTION
is_rule_violated
function is_rule_violated(rule: rule_expression, variables: map<text, gtv>): booleanDetects whether a rule expression is violated.
Parameters
- rule — the rule to check.
- variables — the state to check the rules against.
Returns
true if the rule is violated, false otherwise.
See Also
- rule_expression — for an explanation of rule violation
© 2024 Chromia