Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLruCache
Description
Check whether an entry for which a predicate returns true is in the cache.
| Name | ContainsByPredicate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/LruCache.h |
| Include Path | #include "Containers/LruCache.h" |
template<typename Predicate>
bool ContainsByPredicate
(
Predicate Pred
) const
true if at least one matching entry is in the cache, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Pred | The predicate functor to apply to each entry. |
See Also
-
FilterByPredicate
-
FindByPredicate
-
RemoveByPredicate