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

Function documentSpansEqual

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

Source from the content-addressed store, hash-verified

128321 }
128322 ts.textSpansEqual = textSpansEqual;
128323 function documentSpansEqual(a, b) {
128324 return a.fileName === b.fileName && textSpansEqual(a.textSpan, b.textSpan);
128325 }
128326 ts.documentSpansEqual = documentSpansEqual;
128327 /**
128328 * Iterates through 'array' by index and performs the callback on each element of array until the callback

Callers

nothing calls this directly

Calls 1

textSpansEqualFunction · 0.85

Tested by

no test coverage detected