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

Function annotateEncoded

packages/effect/src/Schema.ts:682–684  ·  view source on GitHub ↗
(annotations: Annotations.Bottom<S["Encoded"], readonly []>)

Source from the content-addressed store, hash-verified

680 * @since 4.0.0
681 */
682export function annotateEncoded<S extends Top>(annotations: Annotations.Bottom<S["Encoded"], readonly []>) {
683 return (self: S): S["Rebuild"] => flip(flip(self).annotate(annotations))
684}
685
686/**
687 * Adds key-level annotations to a schema field. This is the pipeable

Callers

nothing calls this directly

Calls 2

flipFunction · 0.70
annotateMethod · 0.65

Tested by

no test coverage detected