Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
isStruct
Function · 0.70
pipe
Method · 0.65
extract
Function · 0.50
map
Method · 0.45
Tested by
no test coverage detected