You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/pdfkit/node_modules/has
Matthew Butterick 3f36e2ce2c porting 7 years ago
..
src porting 7 years ago
test porting 7 years ago
.jshintrc porting 7 years ago
.npmignore porting 7 years ago
LICENSE-MIT porting 7 years ago
README.mkd porting 7 years ago
package.json porting 7 years ago

README.mkd

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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