MCPcopy
hub / github.com/prettier/prettier / dedent

Function dedent

src/document/builders/align.js:51–53  ·  view source on GitHub ↗

@param {Doc} contents @returns {Align & {readonly n: -1}}

(contents)

Source from the content-addressed store, hash-verified

49@returns {Align & {readonly n: -1}}
50*/
51function dedent(contents) {
52 return align(-1, contents);
53}
54
55/**
56@param {Doc} doc

Callers 8

printBlockFunction · 0.90
genericPrintFunction · 0.90
printFunction · 0.90
printTernaryFunction · 0.90
printTernaryOldFunction · 0.90
doc-builders.jsFile · 0.90

Calls 1

alignFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…