Garry's Mod Wiki

Garry's Mod Wiki

  boolean list.HasEntry( string list, any key )


Returns true if the list contains the given key.

For a function that looks for values and not keys see list.Contains.


1 string list
List to search through
2 any key
The key to test


1 boolean
Returns true if the list contains the key, false otherwise

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

Last Parsed: Loading...