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