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

Function isRootTemplateMessage

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

Source from the content-addressed store, hash-verified

165// Returns whether the given value corresponds to a root template message,
166// or a sub-template.
167export function isRootTemplateMessage(subTemplateIndex: number): subTemplateIndex is -1 {
168 return subTemplateIndex === -1;
169}

Callers 2

findHydrationRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected