IReadOnlyMap<TKey,TValue>.ContainsKey Method

Definition

Determines whether the map contains an element with the specified key.

Delphi
function ContainsKey(const key: TKey): Boolean

Parameters

key
TKey

The key of the element to locate in the map.

Returns

Boolean

True if the map contains an element with the specified key; otherwise, False .