schema-components - v3.7.0
    Preparing search index...

    Function isPrototypePollutingKey

    • Decide whether key is one of the prototype-polluting property names (__proto__, constructor, prototype).

      Used by JSON Pointer resolvers and by the JSON Schema properties walker to refuse traversal into these names.

      Parameters

      • key: string

      Returns boolean