Skip to content

barryels/is-null-or-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-null-or-empty

Build Status

A simple null, undefined or empty string checker.

Mostly using this project to test out tape, covert and npm scoped publishing

Usage

First, install the package using npm:

npm install is-null-or-empty --save

Then, require the package and use it like so:

var isNullOrEmpty = require('is-null-or-empty');

console.log(isNullOrEmpty("")); // true
console.log(isNullOrEmpty(null)); // true
console.log(isNullOrEmpty(undefined)); // true

console.log(isNullOrEmpty("Hello World")); // false

About

A simple null, undefined or empty string checker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published