mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-15 12:51:22 +00:00
Add some LuaDoc
This commit is contained in:
parent
0daee12f57
commit
7a2d38a64c
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue