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

Function annotate

packages/effect/src/internal/schema/fromRepresentation.ts:189–194  ·  view source on GitHub ↗
(
    schema: Schema.Top,
    annotations: Schema.Annotations.Annotations | undefined
  )

Source from the content-addressed store, hash-verified

187 }
188
189 function annotate(
190 schema: Schema.Top,
191 annotations: Schema.Annotations.Annotations | undefined
192 ): Schema.Top {
193 return annotations === undefined ? schema : schema.annotate(annotations)
194 }
195
196 function finishStructural(
197 schema: Schema.Top,

Callers 3

resolveReferenceFunction · 0.70
finishStructuralFunction · 0.70
recurFunction · 0.70

Calls 1

annotateMethod · 0.65

Tested by

no test coverage detected