Garry's Mod Wiki

table.GetLastValue

table.GetLastValue

any table.GetLastValue( table tab )

Description

We advise against using this. It may be changed or removed in a future update. Instead, index the table with the result of the length (#) operator, ensuring it is not zero. Non-numerically indexed tables are not ordered and do not have a last key.

Returns the last value found in the given table

Arguments

1 table tab
Table to retrieve value from

Returns

1 any
Value

Special Pages


Wikis

?

Render Time: 96ms

DB GetPage 47
Generate Html 2
SaveChanges (1) 32
Render Body 0
Render Sidebar 11