GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Returns true when key would touch a prototype if used as a write target.

      Parameters

      • key: string

        The candidate property name.

      Returns boolean

      true when the key must be refused.

      for (const [k, v] of Object.entries(untrusted)) {
      if (isUnsafeKey(k)) continue;
      bag[k] = v;
      }