Rapport-Laravel/node_modules/has
Ravi Gulhane 070be631f6 Laravel 13 May 2026-05-13 16:32:55 +05:30
..
src Laravel 13 May 2026-05-13 16:32:55 +05:30
test Laravel 13 May 2026-05-13 16:32:55 +05:30
LICENSE-MIT Laravel 13 May 2026-05-13 16:32:55 +05:30
README.md Laravel 13 May 2026-05-13 16:32:55 +05:30
package.json Laravel 13 May 2026-05-13 16:32:55 +05:30

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