@blockchaincommons/dcbor - v1.0.0-beta.1
    Preparing search index...
    • Structural CBOR value equality.

      dCBOR encoding is deterministic, so two CBOR values are equal iff they encode to the same byte sequence - this is the simplest correct comparator.

      Use this rather than === (which compares JS object references) when you need value equality across two Cbor instances built independently.

      Parameters

      Returns boolean