Turissa, tell me: did your friend elaborate on what to whip out? What did he/she do when you didn't whip something out?! It could be a reference to whipping out a reference aid, such as a dictionary?
I have heard the expression in this country but with more selacious overtones! (If in doubt whip it out)