(agent: UserAgent)
| 180 | } |
| 181 | |
| 182 | export const checkIsBrowser = (agent: UserAgent): boolean => |
| 183 | globalThis?.navigator?.userAgent?.includes(agent); |
| 184 | |
| 185 | export const checkIsChromeOnly = (): boolean => |
| 186 | (checkIsBrowser(UserAgent.Chrome) || checkIsBrowser(UserAgent.CriOS)) && |
no outgoing calls
no test coverage detected