Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
Include |
#include "Containers/ArrayView.h" |
template<typename KeyType>
ElementType * FindByKey
(
const KeyType & Key
) const
Finds an item by key (assuming the ElementType overloads operator== for the comparison).
Pointer to the first matching element, or nullptr if none is found.
Parameter |
Description |
---|---|
Key |
The key to search by. |