1.1.2 • Published 3 months ago
yesnt v1.1.2
yesnt - find out whether the object is truthy or falsy
Keeping everything simple and minimalistic: only 1 function to use
yesnt(null) //=> false
yesnt(1) //=> true
yesnt('') //=> false
/* and many more use cases that help
understand the weird nature of JS... */
Good luck with using this package!