lunaisadev-website-old/node_modules/has
Luna 4f63b4f9a0 first commit 2021-07-27 18:40:12 -07:00
..
src first commit 2021-07-27 18:40:12 -07:00
test first commit 2021-07-27 18:40:12 -07:00
LICENSE-MIT first commit 2021-07-27 18:40:12 -07:00
README.md first commit 2021-07-27 18:40:12 -07:00
package.json first commit 2021-07-27 18:40:12 -07:00

README.md

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true