coerceCid
@twine-protocol/twine-core v0.1.0 • Docs
twine-js / @twine-protocol/twine-core / coerceCid
Function: coerceCid()
coerceCid(
val):CID<unknown,number,number,Version>
Coerce something into a CID
Throws an error if the value can not be coerced into a CID
Parameters
Parameter
Type
val
Returns
CID<unknown, number, number, Version>
See
Defined in
Last updated