has
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/has package

1.0.4 • Public • Published

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true

Readme

Keywords

none

Package Sidebar

Install

npm i has

Weekly Downloads

22,714,291

Version

1.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • tarruda