0649bd8119
* Bumping actions/github to 2.2.0 for GHES * Husky commit correct node modules |
||
---|---|---|
.. | ||
src | ||
test | ||
LICENSE-MIT | ||
README.md | ||
package.json |
README.md
has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true