# @extra-array/is-empty

> Checks is array is empty.

Latest version **2.10.19** (published 2022-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @extra-array/is-empty
pnpm add @extra-array/is-empty
yarn add @extra-array/is-empty
bun add @extra-array/is-empty
```

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.10.19 |
| Published | 2022-02-19 |
| First published | 2020-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | wolfram77@gmail.com |
| Maintainers | wolfram77 |
| Keywords | extra, array, is, empty, isEmpty |

## Links

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

## 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

- 2.10.19 (latest) — 2022-02-19
- 2.10.18 — 2021-04-13
- 2.10.17 — 2021-02-05
- 2.10.16 — 2021-02-03
- 2.10.15 — 2021-02-03
- 2.10.14 — 2021-02-02
- 2.10.13 — 2021-02-02
- 2.10.12 — 2021-02-02
- 2.10.11 — 2021-02-02
- 2.10.10 — 2021-02-02
- 2.10.9 — 2020-12-16
- 2.10.8 — 2020-09-14
- 2.10.7 — 2020-06-29
- 2.10.6 — 2020-06-28
- 2.10.5 — 2020-06-28
- … 133 more at https://npm.io/package/@extra-array/is-empty/versions

## README

Checks is array is empty.
[:package:](https://www.npmjs.com/package/@extra-array/is-empty)
[:smiley_cat:](https://github.com/orgs/nodef/packages?repo_name=extra-array)
[:running:](https://npm.runkit.com/@extra-array/is-empty)
[:vhs:](https://asciinema.org/a/332077)
[:moon:](https://www.npmjs.com/package/@extra-array/is-empty.min)
[:scroll:](https://unpkg.com/@extra-array/is-empty/)
[:newspaper:](https://nodef.github.io/extra-array/)
[:blue_book:](https://github.com/nodef/extra-array/wiki/)

> Similar: [index], [indexRange], [size], [isEmpty].

> This is part of package [extra-array].

[extra-array]: https://www.npmjs.com/package/extra-array

<br>

```javascript
array.isEmpty(x);
// x: an array
```

```javascript
const array = require("extra-array");

var x = [1, 2, 3];
array.isEmpty(x);
// false

var x = [];
array.isEmpty(x);
// true
```

<br>
<br>


## References

- [Data.List.null: Haskell](https://hackage.haskell.org/package/base-4.14.0.0/docs/Data-List.html#v:null)
- [List.isEmpty: elm](https://package.elm-lang.org/packages/elm/core/latest/List#isEmpty)
- [Array.length: MDN web docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length)
- [Array.isEmpty: sugarjs](https://sugarjs.com/docs/#/Array/isEmpty)

[index]: https://github.com/nodef/extra-array/wiki/index
[indexRange]: https://github.com/nodef/extra-array/wiki/indexRange
[size]: https://github.com/nodef/extra-array/wiki/size
[isEmpty]: https://github.com/nodef/extra-array/wiki/isEmpty

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