MCPcopy Create free account
hub / github.com/angular/angular / isFirefox

Function isFirefox

packages/forms/signals/test/web/form_field.spec.ts:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37import {TestBed} from '@angular/core/testing';
38
39function isFirefox() {
40 const userAgent = navigator.userAgent.toLowerCase();
41 if (userAgent.indexOf('firefox') != -1) {
42 return true;
43 }
44 return false;
45}
46
47import {NG_STATUS_CLASSES} from '../../compat/public_api';
48import {

Callers 1

form_field.spec.tsFile · 0.70

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected