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