1.0.4 • Published 4 years ago
ts-has v1.0.4
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
1.0.4
4 years ago