You need to sign in or sign up before continuing.
Name Last Update
..
src Loading commit data...
test Loading commit data...
.jshintrc Loading commit data...
.npmignore Loading commit data...
LICENSE-MIT Loading commit data...
README.mkd Loading commit data...
package.json Loading commit data...

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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