TArray::Find

Finds element within the array.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

bool Find
(
    const ElementType & Item,
    SizeType & Index
) const

Remarks

Finds element within the array.

Returns

True if found. False otherwise.

Parameters

Parameter

Description

Item

Item to look for.

Index

Will contain the found index.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss