Question: what is the difference between if or whether?
Answer: The formal rule is to use if when you have a conditional sentence and whether when you are showing that two alternatives are possible. Some examples will make this more clear. Here's an example where the two words could be interchangeable: Squiggly didn't know whether Aardvark would arrive on Friday.