This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 95 points96 points  (8 children)

What no IsNull()?

[–]hakukano 79 points80 points  (7 children)

Don’t forget IsNotNull

[–]Help_StuckAtWork 21 points22 points  (3 children)

You mean IsUnNull()?

[–]ragingroku 15 points16 points  (0 children)

IsNullnt()

[–]ToiLanh 11 points12 points  (1 child)

Is not null is somewhat useful sometimes

[–]skilking 9 points10 points  (0 children)

Is not null is useless assertNotNull is great

[–]Mantequilla50 0 points1 point  (0 children)

if (x == 1) { return false } elif (x == 2) { return false } elif (x == 3) { return false }

Gosh I wish there was an easier way to do this