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

Function text

packages/printer/src/internal/docTreeToken.ts:73–78  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

71
72/** @internal */
73export const text = <A>(text: string): DocTreeToken<A> => {
74 const op = Object.create(proto)
75 op._tag = "TextToken"
76 op.text = text
77 return op
78}
79
80/** @internal */
81export const line = <A>(indentation: number): DocTreeToken<A> => {

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected