An if (something) ... condition isn't the same as comparing with $null, it's a boolean check since it'll also fail if something is 0.

I don't think that makes the suggestion any more necessary, just pointing out that they're not the same thing.


Spelling mistakes, grammatical errors, and stupid comments are intentional.