保誠-保戶業務員媒合平台
Jack
2021-12-03 40e0a2a394d416566dfde6070a00bee9e75dc14d
1
2
3
4
export function isMobileDevice(): boolean {
    const mobileDevices = ['Android', 'webOS', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Windows Phone'];
    return mobileDevices.some(e => navigator.userAgent.match(e));
}