TArray::RemoveAll

Syntax

template<class PREDICATE_CLASS>
int32 RemoveAll
(
    const PREDICATE_CLASS & Predicate
)

Remarks

Remove all instances that match the predicate, maintaining order but not indices Optimized to work with runs of matches/non-matches

Returns

Number of removed elements.

Parameters

Parameter

Description

Predicate

Predicate class instance

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h