Skip to content

checkIsTouchDevice()

Detects whether the current device supports a touch-first form factor.

Example:

ts
const isTouch = checkIsTouchDevice();

Released under the MIT License.