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

table.removevalue

documented function · LuaTableExtensions
table.removevalue(table, value?) : removedCount

Removes all values equal to the specified value from the array portion of a table.

──ARGUMENTS
table
table (The table from which to remove values.)
value
any, optional (The value to remove.)
──RETURNS
removedCount
number (The number of values removed.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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