kaguranana-birthday-project/node_modules/has
2021-12-12 18:49:32 -08:00
..
src initial 2021-12-12 18:49:32 -08:00
test initial 2021-12-12 18:49:32 -08:00
LICENSE-MIT initial 2021-12-12 18:49:32 -08:00
package.json initial 2021-12-12 18:49:32 -08:00
README.md initial 2021-12-12 18:49:32 -08: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