Compartilhar via


IReadOnlySet<T>.Overlaps(IEnumerable<T>) Method

Definition

Check if this set has any elements in common with other.

public bool Overlaps (System.Collections.Generic.IEnumerable<T> other);
abstract member Overlaps : seq<'T> -> bool
Public Function Overlaps (other As IEnumerable(Of T)) As Boolean

Parameters

other
IEnumerable<T>

The sequence to check against.

Returns

True if this set has any elements in common with other; otherwise false.

Applies to