I don't know the answer, anon. But I note that the phrase often takes inverted commas, which suggests that people aren't altogether comfortable with the phrase. So here's a wild guess, to bump your thread up: Once upon a time, grammarians talked about three kinds of conditional if-statement: our types 1, 2 and 3.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.