Opal-Estate-Pro/node_modules/has/README.md
2019-09-13 09:44:33 +07: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
```