ISet<T>.Overlaps Method

Definition

Determines whether the current set overlaps with the specified collection.

Delphi
function Overlaps(const other: IEnumerable<T>): Boolean

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Returns

Boolean

True if the current set and other share at least one common element; otherwise, False .

Exceptions

other is nil .