Garry's Mod Wiki

Garry's Mod Wiki

  boolean list.HasEntry( string list, any key )

Description

Returns true if the list contains the given key.

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

Arguments

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

Returns

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

Last Parsed: Loading...