has

1.0.3 • 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

Keywords

none

install

npm i has

Downloadsweekly downloads

3,893,673

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability