Rework data table

This commit is contained in:
2024-12-12 13:03:20 +01:00
parent af2bb157bd
commit f812aed6eb
3 changed files with 18 additions and 4 deletions

View File

@@ -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