ts-has
v1.0.4
Published
Object.prototype.hasOwnProperty.call shortcut for typescript, ts-has
Downloads
1
Maintainers
Readme
ts-has
ts-has is has for typescript
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