TArray::AddUnique

Syntax

int32 AddUnique
(
    ElementType && Item
)

Remarks

Adds unique element to array if it doesn't exist.

Move semantics version.

Returns

Index of the element in the array.

Parameters

Parameter

Description

Args

Item to add.

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h