Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/TArrayG
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE int32_t FindLastByPredicate
(
Predicate Pred |
Searches the array for the last occurrence of an element which matches the specified predicate. | uLang/Common/Containers/Array.h | |
int32_t FindLastByPredicate
(
Predicate Pred, |
Searches an initial subrange of the array for the last occurrence of an element which matches the specified predicate. | uLang/Common/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/Solaris/uLangCore/Public/uLang/Common/Containers/Array.h |
| Include Path | #include "uLang/Common/Containers/Array.h" |
template<typename Predicate>
ULANG_FORCEINLINE int32_t FindLastByPredicate
(
Predicate Pred
) const
Index of the found element. IndexNone otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | Predicate taking array element and returns true if element matches search criteria, false otherwise. |
FindLastByPredicate(Predicate, int32_t)
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/Solaris/uLangCore/Public/uLang/Common/Containers/Array.h |
| Include Path | #include "uLang/Common/Containers/Array.h" |
template<typename Predicate>
int32_t FindLastByPredicate
(
Predicate Pred,
int32_t Count
) const
Index of the found element. IndexNone 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. |