Skip to content
On this page

isTouchDevice

Identifies if the code is being run on a touch device.

Type Definitions

ts
/**
 * @returns If the code is being run on a touch device.
 */
export declare function isTouchDevice(): boolean
1
2
3
4