Share via


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

Definition

Check if this set is a subset of other.

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

Parameters

other
IEnumerable<T>

The sequence to check against.

Returns

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

Applies to