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

Function bindingNameEquals

packages/compiler-cli/src/ngtsc/testing/src/utils.ts:152–157  ·  view source on GitHub ↗
(node: ts.BindingName, name: string)

Source from the content-addressed store, hash-verified

150}
151
152function bindingNameEquals(node: ts.BindingName, name: string): boolean {
153 if (ts.isIdentifier(node)) {
154 return node.text === name;
155 }
156 return false;
157}
158
159export function getSourceCodeForDiagnostic(diag: ts.Diagnostic): string {
160 if (diag.file === undefined || diag.start === undefined || diag.length === undefined) {

Callers 1

walkForDeclarationsFunction · 0.85

Calls 1

isIdentifierMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…