Determines if an array contains a particular value.
table.contains(arr, value)
arr is a table containing indexed elements. value is the value for which to search.
arr
True if the array contains the value, false otherwise.
Premake 4.4 or later.