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,849,962
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    4,849,962
  • 1.0.3
    19,771,847
  • 1.0.2
    993
  • 1.0.1
    180,147
  • 1.0.0
    41
  • 0.0.1
    1,667

Package Sidebar

Install

npm i has

Weekly Downloads

24,804,657

Version

1.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • tarruda