API:type

__NOTOC__
type
Returns the data type of its only argument as a string.
datatype = type (v)
== Parameters ==
=== Arguments ===
:;v
::any - The variable whose type is to be identified. 
=== Returns ===
:;datatype
::string - The possible string results of this function are "nil", "number", "string", "boolean", "table", "function", "thread", and "userdata".
== Example ==
local datatype = type(myVariable);
== Notes ==
* http://www.lua.org/manual/5.1/manual.html#pdf-type
* http://www.lua.org/manual/5.1/manual.html#2.2
== Related Functions ==
* getglobal