isToken()
function isToken(obj): obj is Token<string>;
Defined in: atomiq-sdk/src/types/Token.ts:95
Type guard for an union 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:95
Type guard for an union Token type, encompassing all tokens (BTC or smart chain)
| Parameter | Type |
|---|---|
obj | any |
obj is Token<string>