MCPcopy
hub / github.com/angular/angular / isPlatformBrowser

Function isPlatformBrowser

packages/common/src/platform_id.ts:16–18  ·  view source on GitHub ↗
(platformId: Object)

Source from the content-addressed store, hash-verified

14 * @publicApi
15 */
16export function isPlatformBrowser(platformId: Object): boolean {
17 return platformId === PLATFORM_BROWSER_ID;
18}
19
20/**
21 * Returns whether a platform id represents a server platform.

Callers 15

bootstrap_spec.tsFile · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
AppComponentClass · 0.90
AppScrollerClass · 0.90
constructorMethod · 0.90
NavigationClass · 0.90
constructorMethod · 0.90
AnalyticsServiceClass · 0.90
TutorialClass · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…