weblogin/node_modules/has
Nagy Máté Ferenc fa6959a132 first commit
2023-01-27 12:15:20 +01:00
..
src first commit 2023-01-27 12:15:20 +01:00
test first commit 2023-01-27 12:15:20 +01:00
LICENSE-MIT first commit 2023-01-27 12:15:20 +01:00
package.json first commit 2023-01-27 12:15:20 +01:00
README.md first commit 2023-01-27 12:15:20 +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