node-defined
return the first argument that is `!== undefined`
Description
Most of the time when you chain together ||s, you actually just want the first item that is not undefined, not the first non-falsy item. This module is like the defined-or (//) operator in perl 5.10 . Node.js is an event-based server-side JavaScript engine.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/inspect-js/defined
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install node-defined