auth-api/tests/node_modules/has
2021-06-23 22:30:45 +02:00
..
src Added some tests 2021-06-23 22:30:45 +02:00
test Added some tests 2021-06-23 22:30:45 +02:00
LICENSE-MIT Added some tests 2021-06-23 22:30:45 +02:00
package.json Added some tests 2021-06-23 22:30:45 +02:00
README.md Added some tests 2021-06-23 22:30:45 +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