TArray::FindByPredicate

Finds an element which matches a predicate functor.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/Array.h"

Syntax

template<typename Predicate>
ElementType * FindByPredicate
(
    Predicate Pred
)

Remarks

Finds an element which matches a predicate functor.

Parameters

Parameter

Description

Pred

The functor to apply to each element. true, or nullptr if none is found.

See Also