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