﻿(function($){
    $.isBlank = function(object) {
        return (
            ($.isPlainObject(object) && $.isEmptyObject(object)) ||
            ($.isArray(object) && object.length == 0) ||
            (typeof(object) == "string" && $.trim(object) === "") ||
            (!object)
        );
    };
})(jQuery);
