Skip to content

Commit 1b9c98d

Browse files
committed
Re-remove isChrome
1 parent b8d849c commit 1b9c98d

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

common/api-review/util.api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,6 @@ export function isBrowser(): boolean;
264264
// @public (undocumented)
265265
export function isBrowserExtension(): boolean;
266266

267-
// Warning: (ae-missing-release-tag) "isChrome" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
268-
//
269-
// @public (undocumented)
270-
export function isChrome(): boolean;
271-
272267
// Warning: (ae-missing-release-tag) "isCloudflareWorker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
273268
//
274269
// @public

packages/util/src/environment.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,6 @@ export function isSafari(): boolean {
173173
);
174174
}
175175

176-
export function isChrome(): boolean {
177-
return (
178-
!isNode() && !!navigator.userAgent && navigator.userAgent.includes('Chrome')
179-
);
180-
}
181-
182176
/**
183177
* This method checks if indexedDB is supported by current browser/service worker context
184178
* @return true if indexedDB is supported by current browser/service worker context

0 commit comments

Comments
 (0)