list.HasEntry

From Garry's Mod
Jump to: navigation, search
 list.HasEntry( )

Contents

Description

Returns true if the list contains the given key.

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

Arguments

string list

List to search through

Arguments

any key

The key to test

Returns

boolean

Returns true if the list contains the key, false otherwise
Personal tools
Navigation