mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 23:33:53 +01:00
Make copy & tablecopy deepcopy aliases
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user