17 214
contributi
(Adding flatMap) |
m (Adding copy and values) |
||
t.keys = table.keys
--[[
Returns a numeric table containing the values of the passed table, in the
order they are returned in by the iterator. Such iterator defaults to pairs,
and should return two values, the first being the key and the second the value.
--]]
table.values = function(tab, iter)
iter = iter or pairs
local values = {}
for _, value in iter(tab) do
table.insert(values, value)
end
t.values = table.values
--[[
--]]
table.
local dest = {}
for k, v in
dest[k] = type(v) ==
end
▲ return v
return
▲ end)
end
table.cloneLoadData, table.clone_load_data =
table.copy, table.copy
t.cloneLoadData, t.clone_load_data =
table.
return t
|
contributi