kjelsrud.dev/node_modules/has
2023-07-19 21:31:30 +02:00
..
src 🎉 initiate project *astro_rewrite* 2023-07-19 21:31:30 +02:00
test 🎉 initiate project *astro_rewrite* 2023-07-19 21:31:30 +02:00
LICENSE-MIT 🎉 initiate project *astro_rewrite* 2023-07-19 21:31:30 +02:00
package.json 🎉 initiate project *astro_rewrite* 2023-07-19 21:31:30 +02:00
README.md 🎉 initiate project *astro_rewrite* 2023-07-19 21:31:30 +02: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