Skip to main content
Version: Next

Function: isAccount()

isAccount(providerOrAccount): providerOrAccount is AccountInterface

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

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