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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i has

    Weekly Downloads

    24,804,657

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.02 kB

    Total Files

    5

    Last publish

    Collaborators

    • tarruda