mwg API
    Preparing search index...

    Function validateSchema

    • throws with a path-qualified message at the first field that does not match schema

      Parameters

      • value: unknown
      • schema: Schema
      • path: string = '$'

      Returns void