MCPcopy Create free account
hub / github.com/Effect-TS/effect / textSpaces

Function textSpaces

packages/printer/src/internal/doc.ts:1054–1060  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

1052
1053/** @internal */
1054export const textSpaces = (n: number): string => {
1055 let s = ""
1056 for (let i = 0; i < n; i++) {
1057 s = s += " "
1058 }
1059 return s
1060}

Callers 1

spacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected