This library provides generic functions for table manipulation. It provides all its functions inside the table table

Most functions in the table library assume that the table represents an array or a list. For these functions, when we talk about the "length" of a table we mean the result of the length operator.


Subsections

  1. table.concat (table [, sep [, i [, j]]])
  2. table.insert (table, [pos,] value)
  3. table.maxn (table)
  4. table.remove (table [, pos])
  5. table.sort (table [, comp])