LINQ_All()
IEnumerable::LINQ_All(std::function<bool(T)>) method
Determines whether all elements of a sequence satisfy a condition.
bool System::Collections::Generic::IEnumerable<T>::LINQ_All(std::function<bool(T)> predicate)
Arguments
Parameter | Type | Description |
---|---|---|
predicate | std::function<bool(T)> | A function to test each element for a condition. |
Return Value
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.Slides