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

> function are_ rules_ active(rules: gtv): boolean Checks whether all the rules in the gtv are active. Can only be called in an operation. Throws when rules 

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

FUNCTION

# are\_rules\_active

```signature
function are_rules_active(rules: gtv): boolean
```

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

Checks whether all the rules in the gtv are active.

Can only be called in an operation.

Throws when `rules` is not the valid GTV representation of a rule.

**Parameters**

* **rules** — the gtv rules to check

**See Also**

* [rule\_expression](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/rule_expression/) — for a definition of validity.
* [account\_auth\_descriptor.rules](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/account_auth_descriptor/) — for the list of valid GTV representations of rules.

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