work.suroh.tk/node_modules/has
suroh 410082595a init 11ty commit 2019-12-02 13:22:45 +01:00
..
src init 11ty commit 2019-12-02 13:22:45 +01:00
test init 11ty commit 2019-12-02 13:22:45 +01:00
LICENSE-MIT init 11ty commit 2019-12-02 13:22:45 +01:00
README.md init 11ty commit 2019-12-02 13:22:45 +01:00
package.json init 11ty commit 2019-12-02 13:22:45 +01: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