System::Collections::Generic::IEnumerable::LINQ_Any method
IEnumerable::LINQ_Any() method
Determines whether a sequence contains any elements.
bool System::Collections::Generic::IEnumerable<T>::LINQ_Any()
ReturnValue
true if the source sequence contains any elements; otherwise, false.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
IEnumerable::LINQ_Any(std::function<bool(T)>) method
Determines whether any element of a sequence exists or satisfies a condition.
bool System::Collections::Generic::IEnumerable<T>::LINQ_Any(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 the source sequence contains any elements; otherwise, false.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Page for C++