I have a variable x and whose type is :
type(x)
>> <class '__main__.XmlListConfig'>
in the next part, I want to see if the type of x is <class'__main__.XmlListConfig'>
I am unable to compare and see it
So far, I have tried:
if type(x) == "__main__.XmlListConfig":
This does not work because ofcourse I am comparing it to a string. Any Suggesting will help and please feel free to ask me for more clarification.