node-dextrin - v0.4.0
    Preparing search index...

    Variable canonicalKey

    canonicalKey: (value: unknown) => string

    Type Declaration

      • (value: unknown): string
      • A stable string encoding of a DXN value, equal for and only for dxnEquals-equal values. Used internally for structural dedup/sort (e.g. DXNSortedSet's uniqueness invariant) and as a deterministic tiebreaker for kinds with no natural element order (map/set).

        Parameters

        • value: unknown

        Returns string