Usage: const checkEmpty = require('checkempty'); console.log(checkEmpty(null)); // return true console.log(checkEmpty("")); // return true console.log(checkEmpty("number or string or anything else")); // return false