Bones/node_modules/has
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00
..
src Template Upload 2017-05-17 13:45:25 -04:00
test Template Upload 2017-05-17 13:45:25 -04:00
.jshintrc Template Upload 2017-05-17 13:45:25 -04:00
.npmignore Template Upload 2017-05-17 13:45:25 -04:00
LICENSE-MIT Template Upload 2017-05-17 13:45:25 -04:00
package.json Template Upload 2017-05-17 13:45:25 -04:00
README.mkd Template Upload 2017-05-17 13:45:25 -04: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