Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TArray > API/Runtime/Core/Containers/TArray/FindLastByPredicate
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include | #include "Containers/Array.h" |
template<typename Predicate>
SizeType FindLastByPredicate
&40;
Predicate Pred
&41; const
Remarks
Searches the array for the last occurrence of an element which matches the specified predicate. Index of the found element. INDEX_NONE otherwise.
Parameters
| Name | Description |
|---|---|
| Pred | Predicate taking array element and returns true if element matches search criteria, false otherwise. |