(agent: UserAgent)
| 168 | } |
| 169 | |
| 170 | export const checkIsBrowser = (agent: UserAgent): boolean => |
| 171 | globalThis?.navigator?.userAgent?.includes(agent); |
| 172 | |
| 173 | export const checkIsChromeOnly = (): boolean => |
| 174 | (checkIsBrowser(UserAgent.Chrome) || checkIsBrowser(UserAgent.CriOS)) && |
no outgoing calls
no test coverage detected