Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

decodeCID

Decode 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