fix(core): use os specific key defaults

This commit is contained in:
braks
2023-08-21 17:44:20 +02:00
committed by Braks
parent 8943ec762b
commit 67704e5a8f
3 changed files with 18 additions and 8 deletions
+2
View File
@@ -28,3 +28,5 @@ export function isBoolean(val: any): val is boolean {
export function isNumber(val: any): val is number {
return typeof val === 'number'
}
export const isMacOs = () => typeof navigator !== 'undefined' && navigator?.userAgent?.indexOf('Mac') >= 0