(win: Window)
| 104 | }; |
| 105 | |
| 106 | const isElectron = (win: Window): boolean => testUserAgent(win, /electron/i); |
| 107 | |
| 108 | const isPWA = (win: Window): boolean => |
| 109 | !!(win.matchMedia?.('(display-mode: standalone)').matches || (win.navigator as any).standalone); |
nothing calls this directly
no test coverage detected