urltomarkdown/node_modules/has
Lee Hanken 7c392e0dea refactor into modules 2022-12-21 22:28:59 +00:00
..
src refactor into modules 2022-12-21 22:28:59 +00:00
test refactor into modules 2022-12-21 22:28:59 +00:00
LICENSE-MIT refactor into modules 2022-12-21 22:28:59 +00:00
README.md refactor into modules 2022-12-21 22:28:59 +00:00
package.json refactor into modules 2022-12-21 22:28:59 +00:00

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