Files
node/tools/node_modules/eslint/node_modules/has
2018-01-24 07:47:29 -06:00
..
…
2018-01-24 07:47:29 -06: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