This library includes a few table related functions.

create(narr, nrec)

Direct interface to the Lua API function lua_createtable, which allows specifying how large a table to allocate.


Packs all arguments into a sequence table along with the field n set to the number of items. Basically the reverse of the unpack function from the Lua standard library and identical to the table.pack function introduced in Lua 5.2.