used to indicate an indirect question involving alternatives
He couldn't decide whether he should agree or protest
used to indicate a choice between two alternatives
I wonder whether he heard
used to indicate indifference between alternatives
whether by accident or design
[Old English hwæther, hwether]