sf-static/portfolio/node_modules/has
2023-02-28 19:21:07 +01:00
..
src initial commit 2023-02-28 19:21:07 +01:00
test initial commit 2023-02-28 19:21:07 +01:00
LICENSE-MIT initial commit 2023-02-28 19:21:07 +01:00
package.json initial commit 2023-02-28 19:21:07 +01:00
README.md initial commit 2023-02-28 19:21:07 +01: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