CoastalCommitsPastes/server/node_modules/has
2022-03-06 16:46:59 -08:00
..
src Initial commit 2022-03-06 16:46:59 -08:00
test Initial commit 2022-03-06 16:46:59 -08:00
LICENSE-MIT Initial commit 2022-03-06 16:46:59 -08:00
package.json Initial commit 2022-03-06 16:46:59 -08:00
README.md Initial commit 2022-03-06 16:46:59 -08: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