Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
Include |
#include "Containers/ArrayView.h" |
template<typename Predicate>
TArray< typename TRemoveConst< ElementType >::Type > FilterByPredicate
(
Predicate Pred
) const
Filters the elements in the array based on a predicate functor.
TArray with the same type as this object which contains the subset of elements for which the functor returns true.
Parameter |
Description |
---|---|
Pred |
The functor to apply to each element. |