The OpenD Programming Language

HashMap.containsKey

struct HashMap(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
inout
bool
containsKey
(
this This
)
(
K key
)

Return Value

Type: bool

true if there is an entry in this map for the given key, false otherwise.

Meta