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

Function char

packages/printer/src/internal/docTreeToken.ts:65–70  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

63
64/** @internal */
65export const char = <A>(char: string): DocTreeToken<A> => {
66 const op = Object.create(proto)
67 op._tag = "CharToken"
68 op.char = char
69 return op
70}
71
72/** @internal */
73export const text = <A>(text: string): DocTreeToken<A> => {

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected