Type

From GiderosMobile
Revision as of 10:45, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

Description

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".

(string) = type(v)

Parameters

v: (any) value to get type from

Return values

Returns (string) type of the variable