HashSetExtensions.IsAny<T>
Extension Method in HashSetExtensions
Declaration
public static bool IsAny<T>(this HashSet<T> set, Predicate<T> predicate)Description
Checks if any 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 any element in the set satisfies the predicate. |