From 7a2d38a64ccb29fc3719965ebadbb9fe2e3c6ac9 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 26 May 2021 20:55:00 -0700 Subject: [PATCH] Add some LuaDoc --- misc_functions.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc_functions.lua b/misc_functions.lua index 0134e04..7278c93 100644 --- a/misc_functions.lua +++ b/misc_functions.lua @@ -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