s$ = ToString(data)
Nil. ToString() is also used by the
Print() and DebugPrint() commands so they can print any types, too.
Additionally, if you pass in a table which metatable has a __tostring
field, this metamethod is called.
s$ = ToString(DisplayBrush) ; returns "Function: 74cd2456"
s$ = ToString({1,2,3,4,5}) ; returns "Table: 74ab1344"
s$ = ToString(Nil) ; returns "Nil"
s$ = ToString(5) ; returns "5"
s$ = ToString("Hello") ; returns "Hello"