install-nix-action/node_modules/has
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00
..
src v7 2020-02-24 13:29:22 +01:00
test v7 2020-02-24 13:29:22 +01:00
LICENSE-MIT v7 2020-02-24 13:29:22 +01:00
package.json v7 2020-02-24 13:29:22 +01:00
README.md v7 2020-02-24 13:29:22 +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