I went through a nice tutorial if and whether: indirect questions on Cambridge grammar just now.
Here is one of the rules in that tutorial.
We use whether, not if, directly before or not.
where "directly" is used to indicate the position of the word "whether".
Does it mean the same if I substitute "immediately" for "directly"? In other words, do the following sentence and the quotation above mean the same?
We use whether, not if, immediately before or not.