21 lines
355 B
Markdown
21 lines
355 B
Markdown
|
Converts the contents of a table to a formatted string.
|
||
|
|
||
|
```lua
|
||
|
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.
|
||
|
|