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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    5

Package Sidebar

Install

npm i ts-has

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

3.5 kB

Total Files

4

Last publish

Collaborators

  • yonicb