has
Object.prototype.hasOwnProperty.call shortcut
Last updated 7 years ago by ljharb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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

Copyright 2013 - present © cnpmjs.org | Home |