dist/ng-describe.js
function unempty(a) {
    var hasLength = typeof a === 'string' ||
      Array.isArray(a);
    if (hasLength) {
      return a.length;
    }
    if (a instanceof Object) {
      return Object.keys(a).length;
    }
    return true;
  }
function unempty(a) {
    var hasLength = typeof a === 'string' ||
      Array.isArray(a);
    if (hasLength) {
      return a.length;
    }
    if (a instanceof Object) {
      return Object.keys(a).length;
    }
    return true;
  }
function unempty ( a ) { var hasLength = typeof a === 'string' || Array . isArray ( a ) ; if ( hasLength ) { return a . length ; } if ( a instanceof Object ) { return Object . keys ( a ) . length ; } return true ; }
Returns true if given value has .length and it is not zero, or has properties
@method unempty
Returns true if given value has . length and it is not zero or has properties