Not empty Small lib Install npm i -S not-empty Usage import notEmpty from 'not-empty'; notEmpty(0, 'string', true, [1, 2, 4]); // true notEmpty(0, '', true, [1, 2, 4]); // false notEmpty(0, 'string', true, [], {}); // false notEmpty(0, 'string', true, [23, 45], { test: true }); // true