isToken()
function isToken(obj): obj is Token<string>;
Defined in: atomiq-sdk/src/types/Token.ts:60
Type guard for a Token type, encompassing all tokens (BTC or smart chain)
Parameters
| Parameter | Type |
|---|---|
obj | any |
Returns
obj is Token<string>
function isToken(obj): obj is Token<string>;
Defined in: atomiq-sdk/src/types/Token.ts:60
Type guard for a Token type, encompassing all tokens (BTC or smart chain)
| Parameter | Type |
|---|---|
obj | any |
obj is Token<string>