Effect Radar Implementation v1 #46

Merged
hersi merged 12 commits from feature/radar into master 2023-11-23 07:41:15 +01:00
1 changed files with 14 additions and 0 deletions
Showing only changes of commit 52cc1beb7d - Show all commits

View File

@ -79,6 +79,19 @@ local function firstAlphaNum(s)
return '';
end
local 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
return {
split = split,
filter = filter,
@ -91,4 +104,5 @@ return {
mix = mix,
modIndex = modIndex,
firstAlphaNum = firstAlphaNum,
dump = dump
}