Skip to main content

table.tostring

Converts the contents of a table to a formatted string.

table.tostring(tbl, recurse)

Parameters

  • tbl is the table to be formatted.
  • recurse is an optional integer indicating the depth of recursion

Return Value

A string representing the formatted contents of the table.

Availability

Premake 5.0 or later.