install-nix-action/node_modules/has/README.md
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00

19 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
```