Difference between revisions of "Type"
From OpenEUO
(Created page with " type (v) Returns the type of its only argument, coded as a string. The possible results of this function are "nil" (a string, not the value nil), "number", "string", "boolean", ...") |
|||
Line 1: | Line 1: | ||
type (v) | type (v) | ||
Returns the type of its only argument, coded as a string. The possible results of this function are "nil" (a string, not the value nil), "number", "string", "boolean", "table", "function", "thread", and "userdata". | Returns the type of its only argument, coded as a string. The possible results of this function are "nil" (a string, not the value nil), "number", "string", "boolean", "table", "function", "thread", and "userdata". | ||
+ | |||
+ | [[Assert]] | ||
+ | |||
+ | [[Tonumber]] | ||
+ | |||
+ | [[Tostring]] |
Latest revision as of 11:43, 9 October 2010
type (v)
Returns the type of its only argument, coded as a string. The possible results of this function are "nil" (a string, not the value nil), "number", "string", "boolean", "table", "function", "thread", and "userdata".