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
2
3
4