Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

isset

FlamingoJS887MIT1.0.4

Determine if a variable is set and is not NULL

isset, required, present

readme

isset

Determine if a variable is set and is not NULL

Install

$ npm install --save isset

Usage

const isset = require('isset');

console.log(isset('hello'));
//=> true

console.log(isset(''));
//=> false

License

MIT © Bruno Queiros