UNPKG

mayank-unit-test

Version:

this package can be used for unit testing of ionic and angular app

19 lines (6 loc) 309 B
function isNullOrEmpty(input) { // Returns true if the input is either undefined, null, or empty, false otherwise return (input === undefined || input === null || input === ''); } // Export to make the function available to other packages module.exports = isNullOrEmpty;