has-touch
Version:
utility that returns whether the browser supports touch events or not
1 lines • 104 B
JavaScript
module.exports = 'ontouchstart' in global || (global.DocumentTouch && document instanceof DocumentTouch)
utility that returns whether the browser supports touch events or not