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

    Function normalizeKeywords

    • Normalizes a decoded .dxns document to one canonical internal shape: every keyword becomes DXNKeyword, regardless of whether the caller decoded the document trusted: true (global Symbol.for) or false — this module's whole vocabulary is written against DXNKeyword specifically, mirroring Dextrin.Schema.Compiler's own atomize_back/1. A .dxns document is schema definition syntax, not the untrusted end-user data it describes, so this has nothing to do with trust — the compiler just needs one shape either way.

      Parameters

      • value: unknown

      Returns unknown