Returns a string describing the data type of a value
See also Lua library functions.
Signature:
typeString = type(v)
Arguments:
v- Any value (value)
Returns:
typeString- A string describing the type of valuev(string)boolean- A boolean value (trueorfalse)function- A functionnil- The special valuenilnumber- A numeric valuestring- A stringtable- A tablethread- A coroutine threaduserdata- Data external to the Lua environment (e.g. the main element of a Frame object)
This function is defined in the Lua standard libraries