This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
@bret/truthy with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Determines if something should be considered a synonym for
$ npm i @bret/truthy --save
var truthy = require('@bret/truthy') truthy(false) // false truthy(undefined) // false truthy(0) // true truthy('') // true
Contributions welcome! Please read the contributing guidelines first.