table.GetFirstValue

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

Description

This feature is deprecated.

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

Instead, index the table with a key of 1.

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

Returns the first value found in the given table

Arguments

table tab

Table to retrieve value from

Returns

any

Value
Personal tools
Navigation