TArray::FindByPredicate

Syntax

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

Remarks

Finds an element which matches a predicate functor.

Returns

Pointer to the first element for which the predicate returns true, or nullptr if none is found.

Parameters

Parameter

Description

Pred

The functor to apply to each element.

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h