Module util

return an object that will call func when it is garbage collected: (Sentinel pattern) Note: this is not necessary in Lua 5.2 where tables can have __gc metamethods

Functions

table_tostring (t) return a pretty-formatted string representation of a table:


Functions

table_tostring (t)
return a pretty-formatted string representation of a table:

Parameters:

  • t the table to print

Returns:

    string
generated by LDoc 1.3