setup-maven/node_modules/has
2022-06-28 10:39:30 +02:00
..
src chore: update dependencies 2022-06-28 10:39:30 +02:00
test chore: update dependencies 2022-06-28 10:39:30 +02:00
LICENSE-MIT chore: update dependencies 2022-06-28 10:39:30 +02:00
package.json chore: update dependencies 2022-06-28 10:39:30 +02:00
README.md chore: update dependencies 2022-06-28 10:39:30 +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