I understood Newguest's question to be whether the words 'if' and 'whether' are always interchangeable. And my response to that was that they are not. My examples were of conditional sentences in which you cannot exchange 'whether' for 'if'.
Here is another sentence:
Whether or not it is sunny tomorrow, we are going to go on a picnic.