Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TSparseArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include | #include "Containers/SparseArray.h" |
template<typename Predicate>
int32 IndexOfByPredicate
(
Predicate Pred
) const
Remarks
Finds an item by predicate. Index to the first matching element, or INDEX_NONE if none is found.
Parameters
| Name | Description |
|---|---|
| Pred | The predicate to match. |