Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBitArray
Description
Finds the last occurrence of the specified value (true/false) in the array starting the (reverse) search from the given bit index, and returns the bit index. If the specified value is not found, INDEX_NONE is returned.
| Name | FindLastFrom |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include Path | #include "Containers/BitArray.h" |
template<typename IndexType>
int32 FindLastFrom
(
bool bValue,
IndexType EndIndexInclusive
) const
The index of the last occurrence of the specified value (true/false) from EndIndexInclusive, or INDEX_NONE if not found.
Parameters
| Name | Remarks |
|---|---|
| bValue | The value (true/false) to search for. |
| EndIndexInclusive | The index to start the (reverse) search from. |