Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua dump table

function dump(o)
    if type(o) == 'table' then
        local s = '{ '
        for k,v in pairs(o) do
                if type(k) ~= 'number' then k = '"'..k..'"' end
                s = s .. '['..k..'] = ' .. dump(v) .. ','
        end
        return s .. '} '
    else
        return tostring(o)
    end
end
Comment

PREVIOUS NEXT
Code Example
Lua :: roblox get player from character 
Lua :: clickdetector player roblox 
Lua :: how to comment multiple lines in lua 
Lua :: how to remove characters from a string in lua 
Lua :: roblox player joined 
Lua :: Lua array add item 
Lua :: rgb to hex lua 
Lua :: luau loop all players 
Lua :: roblox lua gui drag 
Lua :: luau table.find() 
Lua :: keywords in lua 
Lua :: roblox how to get the players mouse 
Lua :: do while lua 
Lua :: lua functions 
Lua :: forever loop roblox lua 
Lua :: how to make text different colors in LUA terminal 
Lua :: delete part on touch roblox 
Lua :: svelte template vite 
Lua :: how to make auto scroll roblox 
Lua :: how to add a damage decimal in roblox studio 
Lua :: lua table of alphabet 
Matlab :: matlab rlocus 
Matlab :: matlab function without output 
Basic :: vscode unindent 
Basic :: split to list vb.net 
Elixir :: elixir replace string 
Elixir :: elixir enum chunk_by 
Scala :: scala option 
Actionscript :: DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 
Excel :: or function in excel 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =