$.type
$.type(object) ⇒ string
Get string type of an object. Possible types are: null undefined boolean number string function array date regexp object error.
For other objects it will simply report "object". To find out if an object is a plain JavaScript object, use isPlainObject.