System::Collections::Generic::IEnumerable::LINQ_All method
IEnumerable::LINQ_All method
Determines whether all elements of a sequence satisfy a condition.
bool System::Collections::Generic::IEnumerable<T>::LINQ_All(std::function<bool(T)> predicate)
Parameter | Type | Description |
---|---|---|
predicate | std::function<bool(T)> | A function to test each element for a condition. |
ReturnValue
true if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, false.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++