has
Object.prototype.hasOwnProperty.call shortcut
Last updated 10 years ago by tarruda .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install has 
SYNC missed versions from official npm registry.

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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

Current Tags

  • 1.0.4                                ...           latest (a year ago)

6 Versions

  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
  • 0.0.1                                ...           11 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE