Funzione statica
NanosTable.Dump
Dumps a table into a readable text
Non ancora tradotto
Sintassi
NanosTable.Dump(table)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
table
|
table | — | Table to dump |
Valore restituito
- string the table as readable text
Esempi
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",},--]]