setup-python/node_modules/has
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00
..
src Initial pass 2019-06-26 21:12:00 -04:00
test Initial pass 2019-06-26 21:12:00 -04:00
LICENSE-MIT Initial pass 2019-06-26 21:12:00 -04:00
package.json Initial pass 2019-06-26 21:12:00 -04:00
README.md Initial pass 2019-06-26 21:12:00 -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