Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/TArrayG
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE const ElementType * FindByPredicate
(
Predicate Pred |
Finds an element which matches a predicate functor. | uLang/Common/Containers/Array.h | |
ElementType * FindByPredicate
(
Predicate Pred |
Finds an element which matches a predicate functor. | uLang/Common/Containers/Array.h |
FindByPredicate(Predicate)
Description
Finds an element which matches a predicate functor.
| Name | FindByPredicate |
| 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 const ElementType * FindByPredicate
(
Predicate Pred
) const
Pointer to the first element for which the predicate returns true, or nullptr if none is found.
Parameters
| Name | Remarks |
|---|---|
| Pred | The functor to apply to each element. |
See Also
FindByPredicate(Predicate)
Description
Finds an element which matches a predicate functor.
| Name | FindByPredicate |
| 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>
ElementType * FindByPredicate
(
Predicate Pred
)
Parameters
| Name | Remarks |
|---|---|
| Pred | The functor to apply to each element. true, or nullptr if none is found. |