EmmyLua -> LuaLS
This commit is contained in:
@@ -58,7 +58,6 @@ end
|
||||
function table.contains(t, value)
|
||||
ensureArgType(t, 'table', 1, 'table.contains')
|
||||
|
||||
---@diagnostic disable-next-line: param-type-not-match
|
||||
return tableKeyOf(t, value) ~= nil
|
||||
end
|
||||
|
||||
@@ -415,7 +414,7 @@ end
|
||||
---@generic value any
|
||||
---@param list value[]
|
||||
---@param value value
|
||||
---@param value[]
|
||||
---@return value[]
|
||||
function table.remove_value(list, value)
|
||||
local index = table.indexof(list, value)
|
||||
while index ~= -1 do
|
||||
|
||||
Reference in New Issue
Block a user