MCPcopy
hub / github.com/Effect-TS/effect / text

Function text

packages/printer/src/internal/doc.ts:169–174  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

167
168/** @internal */
169export const text = (text: string): Doc.Doc<never> => {
170 const op = Object.create(proto)
171 op._tag = "Text"
172 op.text = text
173 return op
174}
175
176/** @internal */
177export const flatAlt = dual<

Callers 8

listFunction · 0.70
tupledFunction · 0.70
stringFunction · 0.70
spacesFunction · 0.70
wordsFunction · 0.70
alterAnnotationSafeFunction · 0.70
reAnnotateSafeFunction · 0.70
unAnnotateSafeFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected