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,813,914
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    4,813,914
  • 1.0.3
    18,292,009
  • 1.0.2
    483
  • 1.0.1
    172,705
  • 1.0.0
    11
  • 0.0.1
    1,090

Package Sidebar

Install

npm i has

Weekly Downloads

23,280,212

Version

1.0.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • tarruda