overseer/node_modules/has
2022-11-01 18:49:18 -04:00
..
src Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
test Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
LICENSE-MIT Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
package.json Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
README.md Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -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