# @andjsrk/is-nullish

> Returns true if the given value is null or undefined

Latest version **1.1.0** (published 2022-11-21) · 0 weekly downloads

## Install

```sh
npm install @andjsrk/is-nullish
pnpm add @andjsrk/is-nullish
yarn add @andjsrk/is-nullish
bun add @andjsrk/is-nullish
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-11-21 |
| First published | 2022-11-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | andjsrk |
| Maintainers | andjsrk |

## Links

- npm: https://www.npmjs.com/package/@andjsrk/is-nullish
- npm.io page: https://npm.io/package/@andjsrk/is-nullish

## Recent versions

- 1.1.0 (latest) — 2022-11-21
- 1.0.3 — 2022-11-05
- 1.0.2 — 2022-11-05
- 1.0.1 — 2022-11-05
- 1.0.0 — 2022-11-05

## README

# is-nullish
Returns true if the given value is null or undefined

# Install
```sh
$ npm install @andjsrk/is-nullish
```

# Usage
```js
// for CommonJS
const isNullish = require('@andjsrk/is-nullish')

// for ESM
import isNullish from '@andjsrk/is-nullish'
```

```js
isNullish(null) // true
isNullish(undefined) // true
isNullish(0) // false
isNullish("") // false
isNullish(false) // false
isNullish([]) // false
isNullish({}) // false
```

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