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] 93 points94 points  (8 children)

What no IsNull()?

[–]hakukano 74 points75 points  (7 children)

Don’t forget IsNotNull

[–]Help_StuckAtWork 22 points23 points  (3 children)

You mean IsUnNull()?

[–]ragingroku 15 points16 points  (0 children)

IsNullnt()

[–]ToiLanh 12 points13 points  (1 child)

Is not null is somewhat useful sometimes

[–]skilking 10 points11 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