Build/Utilities/contains.lua

8 lines
153 B
Lua
Raw Normal View History

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