Garry's Mod Wiki

list.HasEntry

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

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 4
Generate Html 9
SaveChanges (1) 8
Render Body 0
Render Sidebar 12