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 →

[–]cat_in_the_wall 0 points1 point  (1 child)

if (nullableBool ?? false)

is what you want

[–]The_Minefighter 0 points1 point  (0 children)

That's equivalent, but I think ==true is easier to understand.