is-null-empty-or-undefined

1.0.1 • Public • Published

is-null-empty-or-undefined

For testing

npm test

Usage

For importing

const  Check = require("is-null-empty-or-undefined").Check;

General usage

const Check = require("is-null-empty-or-undefined").Check;

Check("Hello World") // => false (not null, empty or undefined)
Check() // => true (undefined)
Check(undefined) // => true (undefined)
Check(null) // => true (null)
Check("") // => true (empty)

Package Sidebar

Install

npm i is-null-empty-or-undefined

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

1.33 kB

Total Files

5

Last publish

Collaborators

  • grexlin85