Functions
isSignerRole
isSignerRole(
role
): role is WRITABLE_SIGNER | READONLY_SIGNER
Returns true
if the AccountRole given represents that of a signer. Also refines the
TypeScript type of the supplied role.
Parameters
Parameter | Type |
---|---|
role | AccountRole |
Returns
role is WRITABLE_SIGNER | READONLY_SIGNER