used to say that you think sth is very unlikely to happen
I'll eat my hat
If she's here on time, I'll eat my hat!
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition