Skip to main content
Version: 11.x

Function: isAccount()

isAccount(providerOrAccount): providerOrAccount is AccountInterface

Defined in: src/contract/types/index.type.ts:163

Type guard to narrow ProviderOrAccount to AccountInterface

Parameters​

providerOrAccount​

ProviderOrAccount

The object to check

Returns​

providerOrAccount is AccountInterface

true if the object is an AccountInterface