RevelaOS/node_modules/has
2023-10-15 23:53:41 +01:00
..
src [🎉] Initial Commit 2023-10-15 23:53:41 +01:00
test [🎉] Initial Commit 2023-10-15 23:53:41 +01:00
LICENSE-MIT [🎉] Initial Commit 2023-10-15 23:53:41 +01:00
package.json [🎉] Initial Commit 2023-10-15 23:53:41 +01:00
README.md [🎉] Initial Commit 2023-10-15 23:53:41 +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