Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/TSPtrArrayG
Description
Finds an item by key (assuming the ElementType overloads operator== for the comparison).
| Name | FindByKey |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Containers/SharedPointerArray.h |
| Include Path | #include "uLang/Common/Containers/SharedPointerArray.h" |
template<typename KeyType>
ULANG_FORCEINLINETOptional < PointerType > FindByKey
(
const KeyType & Key
) const
Pointer to the first matching element, or nullptr if none is found.
Parameters
| Name | Remarks |
|---|---|
| Key | The key to search by. |
See Also
- Find