WoW:API tostring
Jump to navigation
Jump to search
Native Lua statement:
- Arguments
- tostring(arg)
- arg - this value will be converted to a string value.
- Returns
- A string representation of arg.
- Examples
tostring(123) --Returns "123"
tostring({}) --Returns "table: ###"
tostring(function() end) --Returns "function: ###"
tostring(nil) --Returns "nil"
tostring(true) --Returns "true"