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

Function indentationIsDifferent

test/fixtures/snapshot/typescript.js:147772–147774  ·  view source on GitHub ↗
(indentationString, startLinePosition)

Source from the content-addressed store, hash-verified

147770 return column;
147771 }
147772 function indentationIsDifferent(indentationString, startLinePosition) {
147773 return indentationString !== sourceFile.text.substr(startLinePosition, indentationString.length);
147774 }
147775 function indentMultilineComment(commentRange, indentation, firstLineIsIndented, indentFinalLine) {
147776 if (indentFinalLine === void 0) { indentFinalLine = true; }
147777 // split comment in lines

Callers 1

insertIndentationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected