# @ganuz/has

> Has is package from Ganuz library

Latest version **0.1.1** (published 2019-04-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ganuz/has
pnpm add @ganuz/has
yarn add @ganuz/has
bun add @ganuz/has
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-04-16 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 90.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yisrael Eliev |
| Maintainers | yisraelx |
| Keywords | descriptor, descriptors, modular, modules, ponyfill, properties, property, reflect, reflection, utilities, utils |

## Links

- npm: https://www.npmjs.com/package/@ganuz/has
- Repository: https://github.com/yisraelx/ganuz
- Homepage: https://github.com/yisraelx/ganuz#readme
- Issues: https://github.com/yisraelx/ganuz/issues
- npm.io page: https://npm.io/package/@ganuz/has

## Dependencies (3)

- [@pakal/type-of](https://npm.io/package/@pakal/type-of.md) ^0.2.1
- [@pakal/get-global](https://npm.io/package/@pakal/get-global.md) ^0.2.1
- [@pakal/is-type-of](https://npm.io/package/@pakal/is-type-of.md) ^0.2.1

## Recent versions

- 0.1.1 (latest) — 2019-04-16
- 0.1.0 — 2019-04-02

## README

# @ganuz/has
[![Source Code](https://img.shields.io/badge/%3C%2F%3E-source_code-blue.svg)](https://github.com/yisraelx/ganuz/blob/master/modules/has)
[![Version](https://img.shields.io/npm/v/@ganuz/has.svg)](https://www.npmjs.com/package/@ganuz/has)
[![MIT License](https://img.shields.io/npm/l/@ganuz/has.svg?color=yellow)](https://github.com/yisraelx/ganuz/blob/master/LICENSE)
[![Bundle Size](https://img.shields.io/bundlephobia/min/@ganuz/has.svg?color=green)](https://bundlephobia.com/result?p=@ganuz/has)
[![TypeScript](https://img.shields.io/badge/100%25-TypeScript-blue.svg)](https://www.typescriptlang.org)

**Has is package from Ganuz library**

## Install
```sh
$ yarn add @ganuz/has
```
Or
```sh
$ npm install --save @ganuz/has
```

## Use
**Module**
```typescript
import {
  default as has
} from '@ganuz/has';
```

**Browser**
```html
<script src="https://unpkg.com/@ganuz/has/bundle.umd.min.js"></script>
```
```typescript
let {
  has
} = G;
```

**Examples**
```typescript
 has([1], 0); // => true
 has(null, 'foo'); // throw TypeError
 has(v => v, 'prototype'); // => false
 has('foo', 'toString'); // throw TypeError
 has(1, 'valueOf'); // throw TypeError
 has({color: 'green'}, 'color'); // => true
 has(Object.create({foo: 'bar'}), 'foo'); // => true
```

### @ganuz/has/polyfill
**Module**
```typescript
  import '@ganuz/has/polyfill';
```

**Browser**
```html
<script src="https://unpkg.com/@ganuz/has/polyfill/bundle.umd.min.js"></script>
```

## License
Copyright © [Yisrael Eliev](https://github.com/yisraelx),
Licensed under the [MIT license](https://github.com/yisraelx/ganuz/blob/master/LICENSE).

---
_Source: https://npm.io/package/@ganuz/has · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
