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

Function formatDisjunction

test/fixtures/snapshot/typescript.js:3607–3609  ·  view source on GitHub ↗
(alternatives)

Source from the content-addressed store, hash-verified

3605 }
3606 }
3607 function formatDisjunction(alternatives) {
3608 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
3609 }
3610 function formatAlternative(comparators) {
3611 return ts.map(comparators, formatComparator).join(" ");
3612 }

Callers 1

typescript.jsFile · 0.85

Calls 2

mapMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…