I want to check if an object has a certain type. I know I can use (object is Class)
But that will return true even if the object is a subclass of "Class", whereas I need to know if it's actually that specific class. Is there a way to do this?
I want to check if an object has a certain type. I know I can use (object is Class)
But that will return true even if the object is a subclass of "Class", whereas I need to know if it's actually that specific class. Is there a way to do this?