"Had it not been for their quick thinking, it would have been a different story,"I feel there is a typo ,,,,missing "if clauses"
The 'if' clause has an alternative structure: Had it not been for = If it had not been for.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
"Had it been" means "If it was/were"