Skip to content

describeCborType

describeCborType(value): string

Defined in: packages/filecoin-encryption-envelope/src/cose/headers.ts:280

Return a human-readable type name for validation errors.

Accepts unknown because error paths may receive values outside the supported CBOR value set CborValue, including class instances and JavaScript-only types.

ParameterType
valueunknown

string