Used to introduce the first of two or more alternatives (followed with 'or'). I can't decide whether to go to the party or stay home.
Used to express a doubt or choice between alternatives. She was unsure whether he would come.
= if, used in reporting questions. She asked me whether I was interested in working for her.