isTouchDevice()
Function: isTouchDevice()
Section titled “Function: isTouchDevice()”function isTouchDevice(): boolean;Checks if the current device supports touch events.
Returns
Section titled “Returns”boolean
True if touch device, false otherwise.