MCPcopy Index your code
hub / github.com/angular/angular / isGlobalIdentifier

Function isGlobalIdentifier

packages/localize/tools/src/source_file_utils.ts:56–58  ·  view source on GitHub ↗
(identifier: NodePath<t.Identifier>)

Source from the content-addressed store, hash-verified

54 * @publicApi used by CLI
55 */
56export function isGlobalIdentifier(identifier: NodePath<t.Identifier>) {
57 return !identifier.scope || !identifier.scope.hasBinding(identifier.node.name);
58}
59
60/**
61 * Build a translated expression to replace the call to `$localize`.

Callers 4

CallExpressionFunction · 0.90
TaggedTemplateExpressionFunction · 0.90
isLocalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…