Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
/ __isEmpty Public archive

Node Module for Checking If variable is empty, null or NaN.

License

Notifications You must be signed in to change notification settings

V-tech-tools/__isEmpty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌀 V_Tools :: __isEmpty

[.v.] Node Module for Checking If variable is empty, null or NaN.

⏩ How To Install:

Add this repo git URL into dependencies in your projects package.json.

...
"dependencies": {
	"v_is_empty":"https://github.com/V-tech-tools/__isEmpty"  
}, 
...

💥 How to use:

Well just load it as a constant...and have fun...

const [isEmpty, isNotEmpty ] = require('v_is_empty');

// Simple isEmpty check
isEmpty();        //-> TRUE
isEmpty('');      //-> TRUE

var xV2 = NaN;;
isEmpty(xV2);     //-> TRUE

var X11;
isEmpty(X11);     //-> TRUE

X11 = 11;
isEmpty(X11);     //-> FALSE

// Simple isNotEmpty check
isNotEmpty();     //-> FALSE
isNotEmpty('');   //-> FALSE

var yV2 = NaN;;
isNotEmpty(yV2);  //-> FALSE

var Y11;
isNotEmpty(Y11);   //-> FALSE

Y11 = 11;
isNotEmpty(Y11);   //-> TRUE

...

👻 Author: -<[_.⟁._]>-

⏰ CreatedTime: 05.09.2021 @ 18:51

About

Node Module for Checking If variable is empty, null or NaN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published