(agent: UserAgent)
| 154 | } |
| 155 | |
| 156 | export const checkIsBrowser = (agent: UserAgent): boolean => |
| 157 | globalThis?.navigator?.userAgent?.includes(agent); |
| 158 | |
| 159 | export const checkIsChromeOnly = (): boolean => |
| 160 | (checkIsBrowser(UserAgent.Chrome) || checkIsBrowser(UserAgent.CriOS)) && |
no outgoing calls
no test coverage detected