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

    Function alsoValidAs

    • The schemas a struct of compiled with fields passes as besides its own (DXNS.md §4b): each one compiled extends, at the version it was built with, that the fields are a valid one of -- and in turn what that one extends. includes bases, and shapes, are none.

      Parameters

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

      Returns string[]