vira - v31.18.2
    Preparing search index...

    Function normalizeSchema

    • Normalizes a schema to a non-boolean object form. true becomes an unconstrained schema ({}), false becomes undefined (nothing is allowed; treated as "no schema available").

      Parameters

      • schema: JSONSchema | undefined

      Returns Readonly<{}> | undefined