existy
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 = // 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