ListExtensions.IsAny<T>
Extension Method in ListExtensions
Declaration
public static bool IsAny<T>(this List<T> list, Predicate<T> predicate)
Description
Checks if any item in the list satisfies a predicate.
Type Parameters
T | The type of the list. |
Parameters
list | The list to search in. |
predicate | The predicate to use. |
Returns
bool | True if any item satisfies the predicate. |