isnullorempty
A simple module that lets you check if a given object is null or empty
Usage
Firstly, you have to install the module
npm i isnullorempty --save
And then you can import the module and start working
const isNullOrEmpty = ; if //...
Or you can work with some more specific functions
const inoe = ; ifinoe // Returns true for null ifinoe // BUGGED: Returns true for null, undefined, [], {} or "" ifinoe // Returns true for undefined ifinoe // Same as the "basic" one // Returns true for null, undefined, [], {} or "" ifinoe // Returns true for null or undefined