How to check an object returned from Python against None?
I can't find a good way to do it. This is my workaround which is very unsatisfying.
vartype=pyobj.__class__.ToString();if(type=="<class 'NoneType'>")returnnull;
A simplepyobj.IsNone
would be cool. What am I missing?