mirror of
https://github.com/kepler155c/opus
synced 2025-12-18 14:18:06 +00:00
redo tabs + wizard
This commit is contained in:
@@ -179,6 +179,14 @@ function Util.transpose(t)
|
||||
return tt
|
||||
end
|
||||
|
||||
function Util.contains(t, value)
|
||||
for k,v in pairs(t) do
|
||||
if v == value then
|
||||
return k
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function Util.find(t, name, value)
|
||||
for k,v in pairs(t) do
|
||||
if v[name] == value then
|
||||
|
||||
Reference in New Issue
Block a user