decodeCIDDecode a possibly string-encoded CID. Passing an already decoded CID instance works too. function decodeCID(val: CID | object | string): CID;§decodeCID(val: CID | object | string): CID[src]§Parameters§val: CID | object | string[src]§Return Type§CID[src]