Docs
chromia.com

FUNCTION

is_active

function is_active(account_auth_descriptor: account_auth_descriptor): boolean
Source

Checks whether all the rules of the auth descriptor are active.

Can only be called in an operation.

An inactive rule cannot be valid, and it cannot have expired yet. This allows skipping some checks.

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

Parameters

  • account_auth_descriptor — the descriptor to check

See Also