s_luaTypeNames
global · ui
- Address
0x811cd0· 36 bytes, up to0x811cf3- Type
char *[9]- Meaning
- Holds the name of each Lua type tag, nil to thread, as used by type
- Confidence
- verified, proof two
- Finding
- ui/luabase#type-and-tostring
Finding: Type and tostring in ui: the Lua base library
type(v) requires an argument and answers the name of its tag: nil, boolean, userdata, number, string,
table, function, userdata for tag 7 and thread; an absent index would answer no value. tostring(v) answers
the metatable's __tostring result when there is one; otherwise a number as its text, a string as itself, nil, true
or false, and for the rest table: %p, function: %p, userdata: %p (also for a light userdata) or thread: %p
with the object's address.
The derivation is in the doc.