Rework data table
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
---@type HeimdallData
|
||||
local _, data = ...
|
||||
---@cast data HeimdallData
|
||||
|
||||
if not data.dumpTable then
|
||||
---@param table table
|
||||
---@param depth number?
|
||||
data.dumpTable = function(table, depth)
|
||||
if not table then print(tostring(table)) return end
|
||||
if not table then
|
||||
print(tostring(table))
|
||||
return
|
||||
end
|
||||
if depth == nil then
|
||||
depth = 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user