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

Method annotate

packages/effect/src/SchemaAST.ts:3189–3191  ·  view source on GitHub ↗
(annotations: Schema.Annotations.Filter)

Source from the content-addressed store, hash-verified

3187 this.annotations = annotations
3188 }
3189 annotate(annotations: Schema.Annotations.Filter): FilterGroup<E> {
3190 return new FilterGroup(this.checks, { ...this.annotations, ...annotations })
3191 }
3192 and(other: Check<E>, annotations?: Schema.Annotations.Filter): FilterGroup<E>
3193 and(other: Check<E>, annotations?: Schema.Annotations.Filter): FilterGroup<E> {
3194 return new FilterGroup([this, other], annotations)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected