chore: Deprecate unneeded utils, don't print enable/disable msg (#60)

This commit is contained in:
Toni Müller
2024-12-04 08:17:34 +02:00
committed by GitHub
parent 5fbcaac0a2
commit f8e3ac2857
5 changed files with 39 additions and 59 deletions
+3
View File
@@ -1,5 +1,7 @@
--- @deprecated
local M = {}
--- @deprecated
function M.set_of(list)
local set = {}
for i = 1, #list do
@@ -8,6 +10,7 @@ function M.set_of(list)
return set
end
--- @deprecated
function M.not_in(var, arr)
if M.set_of(arr)[var] == nil then
return true