Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Description
Removes the first occurrence of the specified item in the array, maintaining order but not indices.
| Name | RemoveSingle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
SizeType RemoveSingle
(
const ElementType & Item
)
The number of items removed. For RemoveSingleItem, this is always either 0 or 1.
Parameters
| Name | Remarks |
|---|---|
| Item | The item to remove. |