"if" and "whether" are used - and either one is correct - in cases like the first one you mention, which is a yes-no question embedded in a statement. Would you like to see a movie? (Yes?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.