ISet<T>.SetEquals Method

Definition

Determines whether the current set and the specified collection contain the same elements.

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

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Returns

Boolean

True if the current set is equal to other ; otherwise, False .

Exceptions

other is nil .