I use the \"bool\" type for variables as I was used to in C++, and I try to put the values of functions or properties I expect to be boolean into my variable. However I ofte
bool can contain only true and false values while bool? can also have a null value.
bool
true
false
bool?
null