Constnium/node_modules/has
2022-06-22 19:20:40 +02:00
..
src Add Express 2022-06-22 19:20:40 +02:00
test Add Express 2022-06-22 19:20:40 +02:00
LICENSE-MIT Add Express 2022-06-22 19:20:40 +02:00
package.json Add Express 2022-06-22 19:20:40 +02:00
README.md Add Express 2022-06-22 19:20:40 +02: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