src/js/common/util.js
function(target) {
        if (_.isString(target)) {
            return !target.length;
        }

        return _.isUndefined(target) || _.isNull(target);
    }
function(target) {
        if (_.isString(target)) {
            return !target.length;
        }

        return _.isUndefined(target) || _.isNull(target);
    }
function ( target ) { if ( _ . isString ( target ) ) { return ! target . length ; } return _ . isUndefined ( target ) || _ . isNull ( target ) ; }
Returns whether the string blank.
@memberof module:util
@param {*} target - target object
@returns {boolean} True if target is undefined or null or ''
Returns whether the string blank .