Table

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.

Syntax

foreachi(table, f: (number, any)  returns  nil)