unpack
Alias of table.unpack.
Syntax
unpack(...) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
... | ... | Additional arguments forwarded to the target. |
Returns
| Type | Description |
|---|---|
nil | ... |
Description
unpack is part of the Core functions library. Core globals are installed in every executor thread and drive output, scheduling and identity.
The operation is performed immediately using the arguments supplied at the call site.
Example
local values = { 1, 2, 3 }
print(unpack(values))
Notes
- Core globals are available in every script.