tostring [function]
tostring( var )
returns a string value, generated from variable var
using the Conversion rules
- this function is equivalent to sgs_ToString in the C API
tostring( 5 ); // returns "5" tostring( { "a" = "b" } ); // returns "{a=b}"