SortedSetExtensions.IsEach<T>
Extension Method in SortedSetExtensions
Declaration
public static bool IsEach<T>(this SortedSet<T> set, Predicate<T> predicate)
Description
Checks if each element in the set satisfies a predicate.
Type Parameters
T | The type of the elements in the set. |
Parameters
set | The set to check. |
predicate | The predicate to use. |
Returns
bool | True if all elements satisfy the predicate. |