TransFlow/node_modules/has
何嘉峣 d0b8157bbe 代码提交 2022-12-15 10:56:04 +08:00
..
src 代码提交 2022-12-15 10:56:04 +08:00
test 代码提交 2022-12-15 10:56:04 +08:00
LICENSE-MIT 代码提交 2022-12-15 10:56:04 +08:00
README.md 代码提交 2022-12-15 10:56:04 +08:00
package.json 代码提交 2022-12-15 10:56:04 +08: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