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

    Function validate

    • Validates an already-decoded value against a named, compiled schema — for the cases that aren't "check while decoding": a value built directly in JS before encoding, an opaque DXNStruct decoded before a schema became available, or checking against a different schema than the one originally used. Returns true on success, throws on failure.

      Parameters

      • value: unknown
      • registry: export=
      • schemaName: string

      Returns true