Share via


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

Definition

Check if this set is a subset of other, but not the same as it.

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

Parameters

other
IEnumerable<T>

The sequence to check against.

Returns

True if this set is a proper subset of other; otherwise false.

Applies to