table.foreachi
Apply the function f to the elements of the table passed. This is similar to table.foreach() except that index-value pairs are passed, not key-value pairs.
foreachi(table, f: (number, any) -> nil)Apply the function f to the elements of the table passed. This is similar to table.foreach() except that index-value pairs are passed, not key-value pairs.
foreachi(table, f: (number, any) -> nil)