IReadOnlySet.Overlaps(IEnumerable) Method

Definition

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

public bool Overlaps (System.Collections.IEnumerable other);
abstract member Overlaps : System.Collections.IEnumerable -> bool
Public Function Overlaps (other As IEnumerable) As Boolean

Parameters

other
IEnumerable

The sequence to check against.

Returns

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

Applies to