table.GetFirstKey

From Garry's Mod
Jump to: navigation, search
 table.GetFirstKey( )

Description

This feature is deprecated.

You should avoid using it as it may be removed in a future version.

Instead, expect the first key to be 1.

Non-numerically indexed tables are not ordered and do not have a first key.

Returns the first key found in the given table

Arguments

table tab

Table to retrieve key from

Returns

any

Key
Personal tools
Navigation