TLookup<TKey,TElement>.Contains(TKey) Method

Determines whether a specified key exists in the ILookup<TKey, TElement>.

Namespace: Spring.Collections.Extensions
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.

Implements

ILookup<TKey,TElement>.Contains(TKey)