Make copy & tablecopy deepcopy aliases

This commit is contained in:
Lars Mueller 2020-12-12 16:28:52 +01:00
parent 43f59aa329
commit a55a8b07ee

@ -133,6 +133,9 @@ function deepcopy(table)
return _deepcopy(table) return _deepcopy(table)
end end
tablecopy = deepcopy
copy = deepcopy
function count(table) function count(table)
local count = 0 local count = 0
for _ in pairs(table) do for _ in pairs(table) do