Green’s Dictionary of Slang

bet! excl.

also that’s a bet!
[you bet! under bet v.]

[1990s+] (US) a general excl. of affirmation or agreement.