@robberfree/is-falsy
v1.0.2
Published
Detect whether a value is falsy.
Downloads
4
Readme
is-falsy
Detect whether a value is falsy in javascript.
Usage
- broswer
<script src="./is-falsy.js"></script>
- node
npm install @robberfree/is-falsy
Reference Documents
https://tc39.github.io/ecma262/#sec-toboolean
https://developer.mozilla.org/en-US/docs/Glossary/Falsy