ok `if( car?.isElectric ?: false )` is quite nice....
# announcements
b
ok
if( car?.isElectric ?: false )
is quite nice. And I agree that it’s a mix of bool and null that is the question here, maybe with a new expression
if?
it could have been clear what happens. Like so:
if?( car?.isElectric )