How to cast to Bool_t in TTree::Draw?

Hi, I would like to cast to a bool (true/false, 0/1) value when using a formula in TTree::Draw, but the regular Bool_t(foo), bool(foo), (bool) foo, etc don’t seem to work.

What is the best way to convert a value to a boolean 0/1 in a TTreeFormula? Using “foo ? 1 : 0” works, but is there a better way, with a function call syntax?

int(foo) works for integers, but Int_t doesn’t, and neither do Double_t/double, and other numerical types. What’s special about int?

Jean-François