are_rules_active

function are_rules_active(rules: gtv): boolean(source)

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

for a definition of validity.

account_auth_descriptor.rules

for the list of valid GTV representations of rules.