Thanks, I understand it better after seeing the example. The comparison operator works even if the types are not exactly the same.
I think it would be better to add some custom methods to compare explicit types.
1 Like