21 lines
267 B
Markdown
21 lines
267 B
Markdown
|
Return an array of all keys used in a table.
|
||
|
|
||
|
```lua
|
||
|
table.keys(tbl)
|
||
|
```
|
||
|
|
||
|
### Parameters ###
|
||
|
|
||
|
`tbl` is the table to be enumerated.
|
||
|
|
||
|
|
||
|
### Return Value ###
|
||
|
|
||
|
A new array containing all of the keys encountered in the table.
|
||
|
|
||
|
|
||
|
### Availability ###
|
||
|
|
||
|
Premake 5.0 or later.
|
||
|
|