Archive 17/01/2023.

What’s the point of Object::IsTypeOf?

Eugene

It looks that these functions just compare passed type to Object because GetTypeInfoStatic() will always return Object.
Why does Urho need this function?
I don’t see any usage of it and its name is confusing…

cadaver

Good catch, the author probably didn’t think it quite through. IsInstanceOf() is rather the more useful case of checking TypeInfo’s.