Skip to content

andyflatwhite/isNullOrEmpty.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isNullOrEmpty.js

GitHub version Dependency Status Dependency Status Build Status Coverage Status

isNullOrEmpty gets its name from .NET's String.IsNullOrEmpty(String) method. After using it a few times I got tired of the extra code required to do similar things in JavaScript, so created this utility function which I then promptly extended to correctly handle any type of variable.

Supported objects

// TODO

Example usage

// TODO

About

A tiny, multi-purpose JavaScript utility function for quickly and easily detecting whether any variable or object is null, undefined, empty or whitespace.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors