THashSet<T>.Contains(T) Method

Determines whether a THashSet<T> object contains the specified element.

Namespace: Spring.Collections.Sets
public
 function Contains(const item: T): Boolean; override;

Parameters

item
Type: T

The element to locate in the THashSet<T> object.

Return Value

Type: Boolean

True if the THashSet<T> object contains the specified element; otherwise, False.

Overrides

TEnumerableBase<T>.Contains(T)