Returns the list of elements in a table. Equivalent to
return t[i], t[i+1], ... t[j]
for an arbitrary number of elements.
See also Lua library functions.
Signature:
...
=
unpack(t
[,
i
[,
j]])
Arguments:
t
- A table (table
)i
- A numeric index to the table; defaults to 1 if omitted (number
)j
- A numeric index to the table; defaults to#t
if omitted (number
)
Returns:
...
- The list of values in the table between indicesi
andj
(list
)
This function is defined in the Lua standard libraries