IReadOnlyMap<TKey,TValue>.Contains Method
Definition
Determines whether the map contains the element with the specified key/value pair.
Delphi
function Contains(const key: TKey; const value: TValue): Boolean
Parameters
- key
- TKey
The key of the element to locate in the map.
- value
- TValue
The value of the element to locate in the map.
Returns
Boolean
True if the map contains an element with the specified key and
value; otherwise, False .