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

Function isI18nHydrationEnabled

packages/core/src/hydration/i18n.ts:72–75  ·  view source on GitHub ↗
(injector?: Injector)

Source from the content-addressed store, hash-verified

70}
71
72export function isI18nHydrationEnabled(injector?: Injector) {
73 injector = injector ?? inject(Injector);
74 return injector.get(IS_I18N_HYDRATION_ENABLED, false);
75}
76
77/**
78 * Collects, if not already cached, all of the indices in the

Callers 1

annotateForHydrationFunction · 0.90

Calls 2

injectFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected