HashTable.hasEntry

Checks if the table contains a certain element

struct HashTable
bool
hasEntry
(
string key
)

Parameters

key string

The key to find

Return Value

Type: bool

false if the key doesn't exist and true if it does exist

Meta