UGameplayStatics::GetObjectClass

Returns the class of a passed in Object, will always be valid if Object is not NULL