first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/**
* Returns true if and only if the user is on a iOS device.
* Used to determine whether iOS-specific behavior should be applied.
*/
export var isIOS = function () {
// eslint-disable-next-line no-restricted-globals
if (!window || !window.navigator || !window.navigator.userAgent) {
return false;
}
// eslint-disable-next-line no-restricted-globals
return /iPad|iPhone|iPod/i.test(window.navigator.userAgent);
};
//# sourceMappingURL=mobileDetector.js.map