/is-touch

Checks if we're running in a touch-enabled context

Primary LanguageJavaScriptISC LicenseISC

is-touch

Build Status js-standard-style npm version Coverage Status

true if we're in a touch-enabled context, false otherwise

const isTouch = require('is-touch') // false unless you're using a touch-enabled device