useIsTouchDevice()
description
- It determines whether the device is a touch device or not.
- When the determination switches, the state is updated.
code
const isTouch = useIsTouchDevice(); //return boolean
return:
description
code
const isTouch = useIsTouchDevice(); //return boolean
return: