Skip to content

ESX.DumpTable

ESX.DumpTable(table)

This function dumps the given table to a readable string with a tree structure.

ESX.DumpTable Example

local myTable = { {esx = 'awesome'} }

local dumpedTable = ESX.DumpTable(myTable)

print(dumpedTable)

-- print below
{

  [1] = {

    ["esx"] = awesome,

  }

}