Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SizeType AddUnique
(
ElementType&& Item |
Adds unique element to array if it doesn't exist.Move semantics version. | Containers/Array.h | |
SizeType AddUnique
(
const ElementType& Item |
Adds unique element to array if it doesn't exist. | Containers/Array.h |
AddUnique(ElementType &&)
Description
Adds unique element to array if it doesn't exist.
Move semantics version.
| Name | AddUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddUnique
(
ElementType && Item
)
Index of the element in the array.
Parameters
| Name | Remarks |
|---|---|
| Item | Item to add. |
See Also
-
Add
-
AddDefaulted
-
AddZeroed
-
Append
-
Insert
AddUnique(const ElementType &)
Description
Adds unique element to array if it doesn't exist.
| Name | AddUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType AddUnique
(
const ElementType & Item
)
Index of the element in the array.
Parameters
| Name | Remarks |
|---|---|
| Item | Item to add. |
See Also
-
Add
-
AddDefaulted
-
AddZeroed
-
Append
-
Insert