So a ? b : false gets turned into a && b and a ? true : b gets turned into a || b .
a ? b : false
a && b
a ? true : b
a || b