TLookup<TKey,TElement>.Contains(TKey) Method
Determines whether a specified key exists in the ILookup<TKey, TElement>.
public
function Contains(const key: TKey): Boolean;
Parameters
- key
- Type: TKey
The key to search for in the ILookup<TKey, TElement>.
Return Value
Type: Boolean
True if key is in the ILookup<TKey, TElement>; otherwise, False.