typeof
Returns the type of the specified variable.
Syntax
typeof variableName || typeof(variableName)
Example
var myNumber = 5; typeof(myNumber); //Returns "number".
text_javascript aptana_docs