## Array::Exists method


Determines if the specified [Array](../) object contains an element that satisfies requirements of the specified predicate.

```cpp
static bool System::Array<T>::Exists(ArrayPtr<T> arr, std::function<bool(T)> match)
```


| 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 |

### ReturnValue

True if **arr** contains an element that satisfies requirements defined by **match**

## See Also

* Typedef [ArrayPtr](../../arrayptr/)
* Class [Array](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
