MCPcopy Index your code
hub / github.com/angular/angular / isFirefox

Function isFirefox

packages/router/test/with_platform_navigation.spec.ts:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37/// <reference types="dom-navigation" />
38
39function isFirefox() {
40 const userAgent = navigator.userAgent.toLowerCase();
41 if (userAgent.indexOf('firefox') != -1) {
42 return true;
43 }
44 return false;
45}
46
47describe('withPlatformNavigation feature', () => {
48 beforeEach(() => {

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…