Skip to content

isProtectedKey

@tsed/core

Usage

typescript
import { isProtectedKey } from "@tsed/core";

See /packages/core/src/utils/isProtectedKey.ts.

Overview

ts
function isProtectedKey(key: string): boolean;

Description

Checks if a key is a protected property name to prevent prototype pollution vulnerabilities.

Released under the MIT License.