existy

1.0.1 • Public • Published

existy

npm travis coverage

Check if something exists (e.g. not null || undefined)

A modularized version of the existy function found in Functional Javascript by Michael Fogus.

Install

$ npm i existy --save

Usage

var existy = require('existy')
existy(null) // false
existy(undefined) // false
existy(0) // true
existy(false) // true

Contributing

Contributions welcome! Please read the contributing guidelines first.

Related

References

Licenses

ISC

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    449
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    449
  • 1.0.0
    1

Package Sidebar

Install

npm i existy

Weekly Downloads

450

Version

1.0.1

License

ISC

Last publish

Collaborators

  • bret