type (v)
Returns the type of its only argument, coded as a string. The possible results of this function are "null
" (a string, not the value null), "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 "null
" (a string, not the value null), "number
", "string
", "boolean
", "table
", "function
", "thread
", and "userdata
".