mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-31 23:19:24 +09:00
4 lines
116 B
TypeScript
4 lines
116 B
TypeScript
|
export function isDeviceTouch(): boolean {
|
||
|
return 'maxTouchPoints' in navigator && navigator.maxTouchPoints > 0;
|
||
|
}
|