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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    4,745,720
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    4,745,720
  • 1.0.3
    19,001,467
  • 1.0.2
    582
  • 1.0.1
    166,455
  • 1.0.0
    86
  • 0.0.1
    913

Package Sidebar

Install

npm i has

Weekly Downloads

19,269,535

Version

1.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • tarruda