Home > @3rdweb/sdk > IStorage > canResolve
Returns true if the URI is resolvable by the current storage interface.
For example: If the storage is configured to point to IPFS, passing in ipfs://SOME_HASH will return true in this function because that is a valid IPFS URI.
Signature:
canResolve(uri: string): boolean;
Parameter | Type | Description |
---|---|---|
uri | string |
Returns:
boolean