Garry's Mod Wiki

Garry's Mod Wiki

  table table.GetKeys( table tabl )

Description

Returns all keys of a table.

Arguments

1 table tabl
The table to get keys of

Returns

1 table
Table of keys

Example

Example usage

local tabl = { one = "A", two = "B", } PrintTable( table.GetKeys( tabl ) )
Output:
1 = one 2 = two

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...