Build/Utilities/contains.lua

8 lines
153 B
Lua

function auContains(array, value)
for i=1, #array do
if array[i] == value then
return true
end
end
return false
end