Garry's Mod Wiki

Garry's Mod Wiki

  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

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 four times a day. Edits and history are not available.

Last Parsed: Loading...