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

    Function resolve

    • fields checked against compiled: every declared field, in the schema's own order, as [name, value] pairs. A required field that is missing, or a value that does not match its declared type, is an error; an optional field that is missing takes its default, or stays absent when it has none — DXN tells an absent field from one written nil. What is built from the result is schema/reader.cjs's job.

      Parameters

      • compiled: export=
      • fields:
            | { pairs: [string, unknown][]; type: "keyed" }
            | { type: "positional"; values: unknown[] }
      • registry: export=

      Returns [string, unknown][]