mirror of
https://github.com/hotomoe/hotomoe
synced 2025-01-08 19:02:54 +09:00
3 lines
109 B
TypeScript
3 lines
109 B
TypeScript
const ua = navigator.userAgent.toLowerCase();
|
|
export const isMobile = /mobile|iphone|ipad|android/.test(ua);
|