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

Function text

packages/printer/src/internal/docTree.ts:142–147  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

140
141/** @internal */
142export const text = <A>(text: string): DocTree.DocTree<A> => {
143 const op = Object.create(proto)
144 op._tag = "TextTree"
145 op.text = text
146 return op
147}
148
149/** @internal */
150export const line = <A>(indentation: number): DocTree.DocTree<A> => {

Callers 2

alterAnnotationsSafeFunction · 0.70
treeFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected