Nonviolent Pigeon Manifestation
    Wondering what’s next for npm?Check out our public roadmap! »

    has
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/has package

    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

    20,908,833

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.77 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar