Tim Cooke wrote:Pawel, I don't see what you're getting at either. Care to elaborate?
Sure.
In the post starting with:
Thanks! I was scratching my head too!
OP used following technique to check if a string is null (the result of
myFunc()).
I'll put it in method:
This code works as expected for almost all cases... Except when you have a String with value "null".
Then
isNull("null") returns
true. And this is wrong.