MCPcopy Index your code
hub / github.com/Effect-TS/effect / char

Function char

packages/printer/src/internal/docTree.ts:134–139  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

132
133/** @internal */
134export const char = <A>(char: string): DocTree.DocTree<A> => {
135 const op = Object.create(proto)
136 op._tag = "CharTree"
137 op.char = char
138 return op
139}
140
141/** @internal */
142export const text = <A>(text: string): DocTree.DocTree<A> => {

Callers 2

alterAnnotationsSafeFunction · 0.70
treeFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected