Skip to content

diagToValue

diagToValue(node): DataValue

Defined in: packages/format-cbor/src/notation/diag-to-value.ts:8

Lowers a parsed DiagNode to a plain DataValue, dropping spans and comments.

DiagNode

DataValue