mirror of
https://github.com/kepler155c/opus
synced 2025-10-26 13:17:39 +00:00
disable red server
This commit is contained in:
@@ -296,6 +296,13 @@ function Util.filter(it, f)
|
||||
return ot
|
||||
end
|
||||
|
||||
function Util.reduce(t, fn, acc)
|
||||
for _, v in pairs(t) do
|
||||
fn(acc, v)
|
||||
end
|
||||
return acc
|
||||
end
|
||||
|
||||
function Util.size(list)
|
||||
if type(list) == 'table' then
|
||||
local length = 0
|
||||
|
||||
Reference in New Issue
Block a user