MCPcopy Index your code
hub / github.com/nodejs/node / decreaseIndentIf

Function decreaseIndentIf

test/fixtures/snapshot/typescript.js:114106–114113  ·  view source on GitHub ↗
(value1, value2)

Source from the content-addressed store, hash-verified

114104 // call this once, passing in all their appropriate indent values, instead of needing
114105 // to call this helper function multiple times.
114106 function decreaseIndentIf(value1, value2) {
114107 if (value1) {
114108 decreaseIndent();
114109 }
114110 if (value2) {
114111 decreaseIndent();
114112 }
114113 }
114114 function getLeadingLineTerminatorCount(parentNode, children, format) {
114115 if (format & 2 /* ListFormat.PreserveLines */ || preserveSourceNewlines) {
114116 if (format & 65536 /* ListFormat.PreferNewLine */) {

Callers 5

onExitFunction · 0.85

Calls 1

decreaseIndentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…