Neutralize Pesky Miscreants
    Have ideas to improve npm?Join in the discussion! »

    ts-has
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.4 • Public • Published

    ts-has

    ts-has is has for typescript

    NPM Version Package License NPM Downloads Coverage

    Object.prototype.hasOwnProperty.call shortcut

    🎉 Installation

    # Using npm 
    npm install --save ts-has
     
    # Using yarn 
    yarn add --save ts-has

    🎹 Usage

    import has from 'has';
     
    has({}, 'hasOwnProperty'); // false
    has(Object.prototype, 'hasOwnProperty'); // true

    Install

    npm i ts-has

    DownloadsWeekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar