Check if the given value is a CaipAssetId.
The value to check.
Whether the value is a CaipAssetId.
isCaipAssetType('eip155:1/slip44:60'); // falseisCaipAssetType('cosmos:cosmoshub-3/slip44:118'); // falseisCaipAssetType('hedera:mainnet/nft:0.0.55492/12'); // true Copy
isCaipAssetType('eip155:1/slip44:60'); // falseisCaipAssetType('cosmos:cosmoshub-3/slip44:118'); // falseisCaipAssetType('hedera:mainnet/nft:0.0.55492/12'); // true
Check if the given value is a CaipAssetId.