Exists()
Array::Exists(ArrayPtr<T>, std::function<bool(T)>) method
Determines if the specified Array object contains an element that satisfies requirements of the specified predicate.
static bool System::Array<T>::Exists(ArrayPtr<T> arr, std::function<bool(T)> match)
Arguments
Parameter | Type | Description |
---|---|---|
arr | ArrayPtr<T> | The array to look for the element in |
match | std::function<bool(T)> | Function object that defines requirements and checks if an element satisfies them |
Return Value
True if arr contains an element that satisfies requirements defined by match
See Also
- Typedef ArrayPtr
- Class Array
- Namespace System
- Library Aspose.Slides