TArray::AddUnique

Syntax

int32 AddUnique
(
    const ElementType & Item
)

Remarks

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

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