# is-any-array

> Check if a value is any kind of array

Latest version **3.0.0** (published 2026-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-any-array
pnpm add is-any-array
yarn add is-any-array
bun add is-any-array
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-02-19 |
| First published | 2018-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Luc Patiny |
| Maintainers | targos, lpatiny, cheminfo-bot, stropitek |

## Links

- npm: https://www.npmjs.com/package/is-any-array
- Repository: https://github.com/cheminfo-js/is-any-array
- Homepage: https://github.com/cheminfo-js/is-any-array#readme
- Issues: https://github.com/cheminfo-js/is-any-array/issues
- npm.io page: https://npm.io/package/is-any-array

## Recent versions

- 3.0.0 (latest) — 2026-02-19
- 2.0.1 — 2023-04-28
- 2.0.0 — 2021-10-28
- 1.0.1 — 2021-09-02
- 1.0.0 — 2021-03-24
- 0.1.1 — 2021-02-11
- 0.1.0 — 2020-02-25
- 0.0.3 — 2018-10-26
- 0.0.2 — 2018-10-26

## README

# is-any-array

[![NPM version][npm-image]][npm-url]
[![build status][build-image]][build-url]
[![npm download][download-image]][download-url]

Check if a value is any kind of array.

## Installation

`$ npm install is-any-array`

## Example

```js
const {isAnyArray} = require('is-any-array');

isAnyArray(1); // false
isAnyArray('ab'); // false
isAnyArray({ a: 1 }); // false

isAnyArray([1, 2, 3]); // true
isAnyArray(new Uint16Array(2))) // true;
```

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/is-any-array.svg
[npm-url]: https://www.npmjs.com/package/is-any-array
[build-image]: https://github.com/cheminfo/is-any-array/workflows/Node.js%20CI/badge.svg?branch=main
[build-url]: https://github.com/cheminfo/is-any-array/actions?query=workflow%3A%22Node.js+CI%22
[download-image]: https://img.shields.io/npm/dm/is-any-array.svg
[download-url]: https://www.npmjs.com/package/is-any-array

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