~/forever/addon-api/function/table.indexof
table.indexof
documented function · LuaTableExtensions
table.indexof(table, value?) : indexReturns the first integer index whose value compares equal to the specified value, searching consecutively from index 1 until the first nil value.
──ARGUMENTS
- table
- table (The table to search.)
- value
- any, optional (The value for which to search.)
──RETURNS
- index
- number, optional (The first matching index, or nil if no match is found.)
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.