Static function
NanosTable.Dump
Dumps a table into a readable text
Syntax
NanosTable.Dump(table)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
table
|
table | — | Table to dump |
Returns
- string the table as readable text
Examples
local tbl = {, ["my_key"] = 123,, [2] = "my_value",},,local dump_text = NanosTable.Dump(tbl),,Console.Log(dump_text),,-- Outputs Text,--[[,{, ["my_key"]: 123,, 2 = "my_value",},--]]