ghaction-upx/node_modules/has
2020-01-23 08:49:02 +00:00
..
src Update node_modules 2020-01-23 08:49:02 +00:00
test Update node_modules 2020-01-23 08:49:02 +00:00
LICENSE-MIT Update node_modules 2020-01-23 08:49:02 +00:00
package.json Update node_modules 2020-01-23 08:49:02 +00:00
README.md Update node_modules 2020-01-23 08:49:02 +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