has

v1.0.4
Object.prototype.hasOwnProperty.call shortcut

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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

Metadata

  • MIT
  • >= 0.4.0
  • Thiago de Arruda
  • released 10/3/2023

Downloads

Maintainers