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

Function isRootTemplateMessage

packages/core/src/render3/i18n/i18n_util.ts:174–176  ·  view source on GitHub ↗
(subTemplateIndex: number)

Source from the content-addressed store, hash-verified

172// Returns whether the given value corresponds to a root template message,
173// or a sub-template.
174export function isRootTemplateMessage(subTemplateIndex: number): subTemplateIndex is -1 {
175 return subTemplateIndex === -1;
176}

Callers 2

findHydrationRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected