# error-if-values-are-not-arrays

> Function takes array and triggers error if not all items in it are arrays

Latest version **2.0.1** (published 2020-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install error-if-values-are-not-arrays
pnpm add error-if-values-are-not-arrays
yarn add error-if-values-are-not-arrays
bun add error-if-values-are-not-arrays
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2020-08-11 |
| First published | 2018-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Steve Thompson |
| Maintainers | writetome51 |
| Keywords | array, validation, type, checking, trigger, error |

## Links

- npm: https://www.npmjs.com/package/error-if-values-are-not-arrays
- npm.io page: https://npm.io/package/error-if-values-are-not-arrays

## Dependencies (1)

- [error-if-not-array](https://npm.io/package/error-if-not-array.md) ^2.0.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 2.0.1 (latest) — 2020-08-11
- 2.0.0 — 2020-07-27
- 1.0.3 — 2019-04-09
- 1.0.2 — 2018-11-20
- 1.0.1 — 2018-11-16
- 1.0.0 — 2018-10-07

## README

# errorIfValuesAreNotArrays(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;values: Array<any[]><br>): void

Function triggers error if not all items in `values` are arrays.


## Installation
`npm i  error-if-values-are-not-arrays`

## Loading
```js
import {errorIfValuesAreNotArrays} from 'error-if-values-are-not-arrays';
```

---
_Source: https://npm.io/package/error-if-values-are-not-arrays · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
