table.contains lua code example
Example: lua table contains
local tryingToGet = "value"
for _,v in pairs(table) do
if v == tryingToGet then
break
end
end
local tryingToGet = "value"
for _,v in pairs(table) do
if v == tryingToGet then
break
end
end