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

File VariantSchema.ts

packages/effect/src/unstable/schema/VariantSchema.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Builds related schemas for named variants from shared field definitions.
3 *
4 * `make` fixes the variant names and default variant, then lets callers define

Callers

nothing calls this directly

Calls 4

isStructFunction · 0.70
pipeMethod · 0.65
extractFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected