What a horrible language:x
[[ $var == "" ]]
works as you describe and as expected. What the parent is talking about is when you have an invocation like my_program $opt
my_program "$opt"
Which when empty will evaluate to my_program
my_program ""
respectively.