dist/hawtio-utilities.js
function isBlank(str) {
        if (str === undefined || str === null) {
            return true;
        }
        if (angular.isString(str)) {
            return str.trim().length === 0;
        }
        else {
            // TODO - not undefined but also not a string...
            return false;
        }
    }
function isBlank(str) {
        if (str === undefined || str === null) {
            return true;
        }
        if (angular.isString(str)) {
            return str.trim().length === 0;
        }
        else {
            // TODO - not undefined but also not a string...
            return false;
        }
    }
function isBlank ( str ) { if ( str === undefined || str === null ) { return true ; } if ( angular . isString ( str ) ) { return str . trim ( ) . length === 0 ; } else { // TODO - not undefined but also not a string... return false ; } }
Returns true if the string is either null or empty

@method isBlank
@for Core
@static
@param {String} str
@return {Boolean}
Returns true if the string is either null or empty