Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArrayView
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType FindLastByPredicate
(
Predicate Pred |
Finds element within the array starting from the end. Uses predicate to match element. | Containers/ArrayView.h | |
SizeType FindLastByPredicate
(
Predicate Pred, |
Finds element within the array starting from StartIndex and going backwards. | Containers/ArrayView.h |
FindLastByPredicate(Predicate)
Description
Finds element within the array starting from the end. Uses predicate to match element.
| Name | FindLastByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.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
Finds element within the array starting from StartIndex and going backwards. Uses predicate to match element.
| Name | FindLastByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path | #include "Containers/ArrayView.h" |
template<typename Predicate>
SizeType FindLastByPredicate
(
Predicate Pred,
SizeType StartIndex
) 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. |
| StartIndex | Index of element from which to start searching. |