The table.contains function determines if an array contains a particular value.
table.contains(arr, value)
Parameters
arr is the array to test; value is the value being tested for.
Return Value
True if the array contains the value, false otherwise.
The table.contains function determines if an array contains a particular value.
table.contains(arr, value)
arr is the array to test; value is the value being tested for.
True if the array contains the value, false otherwise.