System::Array::TrueForAll method

Array::TrueForAll method

Determines whether all elements in the specified array satisfy the conditions defined by specified predicate.

static bool System::Array<T>::TrueForAll(System::ArrayPtr<T> arr, System::Predicate<T> match)
ParameterTypeDescription
arrSystem::ArrayPtr<T>Array elements of which to match against the conditions
matchSystem::Predicate<T>A predicate that defines the conditions to match array elements against

ReturnValue

true if all elements of the array arr satisfy the conditions defined by predicate match, otherwise false

See Also