MCPcopy
hub / github.com/benjamn/recast / concat

Function concat

lib/lines.ts:851–853  ·  view source on GitHub ↗
(elements: any)

Source from the content-addressed store, hash-verified

849}
850
851export function concat(elements: any) {
852 return emptyLines.join(elements);
853}
854
855// The emptyLines object needs to be created all the way down here so that
856// Lines.prototype will be fully populated.

Callers 15

printLeadingCommentFunction · 0.90
printTrailingCommentFunction · 0.90
printCommentsFunction · 0.90
genericPrintFunction · 0.90
genericPrintNoParensFunction · 0.90
printDecoratorsFunction · 0.90
printStatementSequenceFunction · 0.90
printMethodFunction · 0.90
printArgumentsListFunction · 0.90
printFunctionParamsFunction · 0.90
printExportDeclarationFunction · 0.90

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…