>wowhelm_
~/forever/addon-api/function/table.contains

table.contains

documented function · LuaTableExtensions
table.contains(table, value?) : containsValue

Returns true if any value in the table compares equal to the specified value.

──ARGUMENTS
table
table (The table to search.)
value
any, optional (The value for which to search.)
──RETURNS
containsValue
bool (True if any entry in the table has the specified value.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.