UNPKG

@edgeguideab/expect

Version:

Check for user input in a consistent way and generate error messages for missings

11 lines (10 loc) 284 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isUnsafe = void 0; function isUnsafe(key) { if (key === "__proto__" || key === "constructor" || key === "prototype") { return true; } return false; } exports.isUnsafe = isUnsafe;