Détail du package

@bret/truthy

bcomnes825ISC1.0.1

Determines if something should be considered a synonym for true

existy, false, falsey, truth

readme

truthy

npm travis coverage

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 = require('@bret/truthy')
truthy(false) // false
truthy(undefined) // false
truthy(0) // true
truthy('') // true

Contributing

Contributions welcome! Please read the contributing guidelines first.

Related

References

License

ISC

changelog

truthy change log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

  • engage