Skip to content

table.keys

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Return an array of all keys used in a table.

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.

Clone this wiki locally