lib/base/object.js
function isEmpty(object) {
    if (comb.isObject(object)) {
        for (var i in object) {
            if (object.hasOwnProperty(i)) {
                return false;
            }
        }
    }
    return true;
}
function isEmpty(object) {
    if (comb.isObject(object)) {
        for (var i in object) {
            if (object.hasOwnProperty(i)) {
                return false;
            }
        }
    }
    return true;
}
function isEmpty ( object ) { if ( comb . isObject ( object ) ) { for ( var i in object ) { if ( object . hasOwnProperty ( i ) ) { return false ; } } } return true ; }
Determines if an object is empty

@example

comb.isEmpty({}) => true
comb.isEmpty({a : 1}) => false

@param object the object to test
@returns {Boolean} true if the object is empty;
@memberOf comb
@static
Determines if an object is empty