TArrayView::ContainsByPredicate

Checks if this array contains element for which the predicate is true.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/ArrayView.h"

Syntax

template<typename Predicate>
bool ContainsByPredicate
(
    Predicate Pred
) const

Remarks

Checks if this array contains element for which the predicate is true.

Returns

True if found. False otherwise.

Parameters

Parameter

Description

Predicate

to use

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