yesnt
1.1.2 • Public • Published 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!
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.1.2
10
Version History
Package Sidebar
Install
Weekly Downloads