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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    10
    • latest

Version History

Package Sidebar

Install

npm i yesnt

Weekly Downloads

14

Version

1.1.2

License

MIT

Unpacked Size

744 B

Total Files

4

Last publish

Collaborators

  • ua2