MCPcopy Create free account
hub / github.com/Effect-TS/effect / annotate

Function annotate

packages/effect/src/internal/schema/schema.ts:54–56  ·  view source on GitHub ↗
(this: Schema.Top, annotations: Schema.Annotations.Annotations)

Source from the content-addressed store, hash-verified

52 return Pipeable.pipeArguments(this, arguments)
53 },
54 annotate(this: Schema.Top, annotations: Schema.Annotations.Annotations) {
55 return this.rebuild(SchemaAST.annotate(this.ast, annotations))
56 },
57 annotateKey(this: Schema.Top, annotations: Schema.Annotations.Key<unknown>) {
58 return this.rebuild(SchemaAST.annotateKey(this.ast, annotations))
59 },

Callers

nothing calls this directly

Calls 2

rebuildMethod · 0.65
annotateMethod · 0.65

Tested by

no test coverage detected