Talk:IsValueInTable
Jump to navigation
Jump to search
Why would you need to pass the column ID when checking if a table contains a value? When you use a function like "isValueInTable" it comes predetermined you don't known its position. This useful function seems to be tied to a specific need of the author which isn't generic enough to receive the name "isValueInTable". If you take a closer look to the algorithm what it does is look for a value inside a table that's inside an array of tables.
For this matter we should remove this useful function or rewrite it to be exactly "isValueInTable" and suggest renaming it to "table.includes".