# iterable-is

> Check if value is iterable.

Latest version **0.1.6** (published 2018-09-24) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install iterable-is
pnpm add iterable-is
yarn add iterable-is
bun add iterable-is
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2018-09-24 |
| First published | 2017-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wolfram77@gmail.com |
| Maintainers | wolfram77 |
| Keywords | iterable, is |

## Links

- npm: https://www.npmjs.com/package/iterable-is
- Repository: https://github.com/nodef/iterable-is
- Homepage: https://github.com/nodef/iterable-is#readme
- Issues: https://github.com/nodef/iterable-is/issues
- npm.io page: https://npm.io/package/iterable-is

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2018-09-24
- 0.1.5 — 2018-01-16
- 0.1.4 — 2018-01-16
- 0.1.3 — 2018-01-07
- 0.1.2 — 2018-01-05
- 0.1.1 — 2017-12-14
- 0.1.0 — 2017-12-14
- 0.0.8 — 2017-12-14
- 0.0.7 — 2017-12-14
- 0.0.6 — 2017-12-14
- 0.0.5 — 2017-12-14
- 0.0.4 — 2017-12-14
- 0.0.3 — 2017-12-14
- 0.0.2 — 2017-12-14
- 0.0.1 — 2017-12-14

## README

# iterable-is

> NOTE: [iterable-is](https://www.npmjs.com/package/iterable-is) was renamed to [@extra-iterable/is](https://www.npmjs.com/package/@extra-iterable/is).
[![NPM](https://nodei.co/npm/iterable-is.png)](https://nodei.co/npm/iterable-is/)

Check if value is [iterable].
> Use [iterable-iscollection], if checking collection *(not string)* is needed.

```javascript
const is = require('iterable-is');
// is(<value>)

is(1);
// false
is([1]);
// true
is('1');
// true
is(new Set().add(1));
// true
is(new Map().set(1, null));
// true
```


[iterable]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
[iterable-iscollection]: https://www.npmjs.com/package/iterable-iscollection

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