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

TThe type of the array.

Parameters

arrayThe array to search in.
predicateThe predicate to use.

Returns

boolTrue if all elements satisfy the predicate.