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

Function h2

packages/cli/src/internal/helpDoc.ts:96–100  ·  view source on GitHub ↗
(value: string | Span.Span)

Source from the content-addressed store, hash-verified

94
95/** @internal */
96export const h2 = (value: string | Span.Span): HelpDoc.HelpDoc => ({
97 _tag: "Header",
98 value: typeof value === "string" ? InternalSpan.text(value) : value,
99 level: 2
100})
101
102/** @internal */
103export const h3 = (value: string | Span.Span): HelpDoc.HelpDoc => ({

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected