UNPKG

configly

Version:

A developer-friendly lightweight replacement for the 'config' module that works with custom config directories and pluggable parsers

15 lines (12 loc) 269 B
var notEmpty = require('./not_empty'); module.exports = isEmpty; /** * Shortcut for positive checks * * @param {string} str - string to check * @returns {boolean} - true is string is empty, false otherwise */ function isEmpty(str) { return !notEmpty(str); }