Update on Conditionizr v4 release
The new Conditionizr APIs do exactly what you want above:
if (conditionizr.touch) {
// touch
}
... As well as many other brilliant enhancements such as the .on() API:
conditionizr.on('chrome', function () {
// callback for Chrome
});
And much more!