/Engine/Source/Runtime/Core/Public/Containers/Array.h
Finds an item by predicate.Indexto the first matching element, or INDEX_NONE if none is found.
template<typename Predicate> [SizeType](API\Runtime\Core\Containers\TArray\SizeType) IndexOfByPredicate ( Predicate Pred ) const