wishthis/node_modules/has/README.md
2022-01-21 09:28:41 +01:00

18 lines
239 B
Markdown

# has
> Object.prototype.hasOwnProperty.call shortcut
## Installation
```sh
npm install --save has
```
## Usage
```js
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true
```