"IsNot", which is obviously the opposite of "Is". It is especially useful when testing for when something is not "Nothing". (I love the double-negative.)
It took me a while to figure that that you can say:
If var1 IsNot Nothing Then...End If
Instead of the awkward:
If Not var1 is Nothing Then ...End If
It took me a while to figure that that you can say:
If var1 IsNot Nothing Then...End If
Instead of the awkward:
If Not var1 is Nothing Then ...End If
Comments