@xstd/nullish
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

npm (scoped) npm NPM npm type definitions

@xstd/nullish

Nullish type.

📦 Installation

yarn add @xstd/nullish
# or
npm install @xstd/nullish --save

API

Nullish

type Nullish = null | undefined;

isNullish

function isNullish(value: any): value is Nullish

Returns true if the provided value is Nullish.

Readme

Keywords

none

Package Sidebar

Install

npm i @xstd/nullish

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

5.23 kB

Total Files

16

Last publish

Collaborators

  • lifaon74