Add some LuaDoc
This commit is contained in:
parent
0daee12f57
commit
7a2d38a64c
@ -1,4 +1,10 @@
|
||||
|
||||
--- Cleans duplicate entries from indexed table.
|
||||
--
|
||||
-- @local
|
||||
-- @function clean_duplicates
|
||||
-- @tparam table t
|
||||
-- @treturn table
|
||||
local function clean_duplicates(t)
|
||||
local tmp = {}
|
||||
for _, v in ipairs(t) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user