Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/Count.h |
| Include | #include "Algo/Count.h" |
namespace Algo
{
template<typename InT, typename PredicateT>
SIZE_T Algo::CountIf
(
const InT & Input,
PredicateT Predicate
)
}
Remarks
Counts elements of a range that match a given predicate
Parameters
| Name | Description |
|---|---|
| Input | Any iterable type |
| Predicate | Condition which returns true for elements that should be counted and false for elements that should be skipped |