array-truthy-values
v1.0.2
Published
**Remove Falsy Values From Given Array**
Downloads
2
Readme
Remove Falsy Values From Given Array
Sample Usage
const removeFalsyValues = require("array-truthy-values")
let inputArray = ["1",undefined,"text",44,0,false,null,""]
console.log(removeFalsyValues(inputArray)) // ["1","text",44]