TArrayView::ContainsByPredicate

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

Choose your operating system:

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