Détail du package

existy

bcomnes1.7kISC1.0.1

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

existy, null, undefined, functional

readme

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

changelog

existy change log

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

Unreleased

  • engage