ArrayExtensions.IsEach<T>
Extension Method in ArrayExtensions
Declaration
public static bool IsEach<T>(this T[] array, Predicate<T> predicate)
Description
Checks if each 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 all elements satisfy the predicate. |