Is there a FindComponentByClass function but for actors?

Like if I wanted to check If an actor returned from an FHitResult was a certain class?

You could use the GetClass() function ( UObjectBase::GetClass | Unreal Engine Documentation ) and compare it, or cast to your class and check for NullPtrs. But if you don’t need the actor to be casted the class comparison should be fine