node-test/node_modules/has
2022-12-15 10:14:42 +00:00
..
src First 2022-12-15 10:14:42 +00:00
test First 2022-12-15 10:14:42 +00:00
LICENSE-MIT First 2022-12-15 10:14:42 +00:00
package.json First 2022-12-15 10:14:42 +00:00
README.md First 2022-12-15 10:14:42 +00: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