Fix emmylua warnings
This commit is contained in:
@@ -57,6 +57,8 @@ end
|
||||
--- @return boolean
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user