Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType FindLastByPredicate
(
Predicate Pred |
Searches the array for the last occurrence of an element which matches the specified predicate. | Containers/Array.h | |
SizeType FindLastByPredicate
(
Predicate Pred, |
Searches an initial subrange of the array for the last occurrence of an element which matches the specified predicate. | Containers/Array.h |
FindLastByPredicate(Predicate)
Description
Searches the array for the last occurrence of an element which matches the specified predicate.
| Name | FindLastByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename Predicate>
SizeType FindLastByPredicate
(
Predicate Pred
) const
Index of the found element. INDEX_NONE otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate taking array element and returns true if element matches search criteria, false otherwise. |
FindLastByPredicate(Predicate, SizeType)
Description
Searches an initial subrange of the array for the last occurrence of an element which matches the specified predicate.
| Name | FindLastByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename Predicate>
SizeType FindLastByPredicate
(
Predicate Pred,
SizeType Count
) const
Index of the found element. INDEX_NONE otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate taking array element and returns true if element matches search criteria, false otherwise. |
| Count | The number of elements from the front of the array through which to search. |