mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-25 17:06:52 +01:00
18 lines
239 B
Markdown
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
|
|
```
|