install-nix-action/node_modules/has
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00
..
src v6 2019-11-19 17:50:30 +01:00
test v6 2019-11-19 17:50:30 +01:00
LICENSE-MIT v6 2019-11-19 17:50:30 +01:00
package.json v6 2019-11-19 17:50:30 +01:00
README.md v6 2019-11-19 17:50:30 +01: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