install-nix-action/node_modules/has/README.md
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +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
```