truthy
Determines if something should be considered a synonym for true
.
A modularized version of the truthy
function found in Functional Javascript by Michael Fogus.
Install
$ npm i @bret/truthy --save
Usage
var truthy = // false // false // true // true
Contributing
Contributions welcome! Please read the contributing guidelines first.
Related
References
- Functional Javascript by Michael Fogus
- "this is my best module" - substack