Compare object types in C++

Is it possible to compare UObject types so that the result is true only if the objects are of the same exact type?

If I use UClass::IsA, the result is true even if the parameter is a base class (so if I compare my object to another object, other->GetClass()->IsA( this->GetClass()); the result is true even if the other object is a subclass of my current type).

Hi. Static class object is unique for each class of an object, so you can just compare results of GetClass() directly.

other->GetClass() == GetClass()