ccashfrontend/views/node_modules/has
2021-06-18 09:20:09 +10:00
..
src half new patch 2021-06-18 09:20:09 +10:00
test half new patch 2021-06-18 09:20:09 +10:00
LICENSE-MIT half new patch 2021-06-18 09:20:09 +10:00
package.json half new patch 2021-06-18 09:20:09 +10:00
README.md half new patch 2021-06-18 09:20:09 +10: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