table.KeysFromValue
From GMod Wiki
Revision as of 17:13, 15 July 2011 by TheFreeman193 (Talk | contribs)
Function | |
Syntax |
table.KeysFromValue( Table table, Var value ) Where is this used? |
Description: | |
Returns a table of indexes with the same value as value in the specified table. | |
Returns: | Table Found indexes |
Part of Library: | Table |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Table.KeysFromValue]Table.KeysFromValue [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- value can be any datatype, but the function will only search for the datatype you specify.
- This will return an empty table if no indexes with the specified value are found.