Garry's Mod Wiki

Revision Difference

table.KeysFromValue#546789

<function name="KeysFromValue" parent="table" type="libraryfunc"> <description>Returns a table of keys containing the supplied value</description> <realm>Shared and Menu</realm> <file line="677">lua/includes/extensions/table.lua</file> <file line="676-L682">lua/includes/extensions/table.lua</file> <args> <arg name="tab" type="table">Table to search</arg> <arg name="value" type="any">Value to search for</arg> </args> <rets> <ret name="" type="table">Keys</ret> </rets> </function>