jss.object = {};

jss.object.extend = function(destination, source) {
  for (var property in source)
    destination[property] = source[property];
  return destination;
};

jss.object.isElement = function(object) { return object && object.nodeType == 1; }
jss.object.isArray = function(object) { return object && object.constructor === Array; }
jss.object.isHash = function(object) { return object instanceof Hash; }
jss.object.isFunction = function(object) { return typeof object == "function"; }
jss.object.isString = function(object) { return typeof object == "string"; }
jss.object.isNumber = function(object) { return typeof object == "number"; }
jss.object.isUndefined = function(object) { return typeof object == "undefined"; }
jss.object.isEmpty = function(object) { return typeof object == "undefined" || object == "" || object == null; }
