rangement/node_modules/has
2023-07-01 12:46:34 +02:00
..
src add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
test add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
LICENSE-MIT add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
package.json add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
README.md add packages and scripts in package.json 2023-07-01 12:46:34 +02:00

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true