Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include | #include "Containers/Array.h" |
template<typename SearchType>
bool FindItemByClass
&40;
SearchType &42;&42; Item,
SizeType &42; ItemIndex,
SizeType StartIndex
&41; const
Remarks
Searches for the first entry of the specified type, will only work with TArray
Parameters
| Name | Description |
|---|---|
| Item | (Optional output) If it's not null, then it will point to the found element. Untouched if element hasn't been found. |
| ItemIndex | (Optional output) If it's not null, then it will be set to the position of found element in the array. Untouched if element hasn't been found. |
| StartIndex | (Optional) Index in array at which the function should start to look for element. |