# are_and_rules_violated · FT4 Rell API · Chromia Docs (concept)

> function are_ and_ rules_ violated(rules: list< rule_expression >, variables: map<text, gtv>): boolean Detects whether any of a list of rule expressions is

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/are_and_rules_violated/

FUNCTION

# are\_and\_rules\_violated

```signature
function are_and_rules_violated(rules: list<rule_expression>, variables: map<text, gtv>): boolean
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_descriptor_rule_validation.rell#lines-185)

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](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/rule_expression/) — for an explanation of rule violation

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/are_and_rules_violated.html)Generated API reference, mirrored from the live docs
