UNPKG

isset

Version:

Determine if a variable is set and is not NULL

22 lines (16 loc) 298 B
# isset Determine if a variable is set and is not NULL ## Install ``` $ npm install --save isset ``` ## Usage ```js const isset = require('isset'); console.log(isset('hello')); //=> true console.log(isset('')); //=> false ``` ## License MIT © [Bruno Queiros](https://github.com/brunoqueiros)