are_and_rules_violated
function are_and_rules_violated(rules: list<rule_expression>, variables: map<text, gtv>): boolean(source)
Detects whether any of a list of rule expressions is violated.
Parameters
rules
the rules to check.
variables
the state to check the rules against.
See also
rule_expression
for an explanation of rule violation