MCPcopy Create free account
hub / github.com/nodejs/node / textSpansEqual

Function textSpansEqual

test/fixtures/snapshot/typescript.js:128319–128321  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

128317 }
128318 ts.getTypeKeywordOfTypeOnlyImport = getTypeKeywordOfTypeOnlyImport;
128319 function textSpansEqual(a, b) {
128320 return !!a && !!b && a.start === b.start && a.length === b.length;
128321 }
128322 ts.textSpansEqual = textSpansEqual;
128323 function documentSpansEqual(a, b) {
128324 return a.fileName === b.fileName && textSpansEqual(a.textSpan, b.textSpan);

Callers 2

documentSpansEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected