UNPKG

has-touch

Version:

utility that returns whether the browser supports touch events or not

1 lines 104 B
module.exports = 'ontouchstart' in global || (global.DocumentTouch && document instanceof DocumentTouch)