© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Getting the `_tag` Property from `Schema<A>` - Effect Community
EC
Effect Community
•
6mo ago
Stephen Bluck
Getting the `_tag` Property from `Schema<A>`
Is this the best way to get a
_tag property from a
Schema<A>
Schema<A>
where
A extends { _tag: A }
A extends { _tag: A }
?
https://effect.website/play/#c31850fc86ad
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Getting the Literal Value of a Schema Tag
EC
Effect Community / schema
11mo ago
Extracting Schema Instance from Property Signature
EC
Effect Community / schema
2y ago
Parsing `_tag` from a string to a string literal type in `Schema.TaggedClass`
EC
Effect Community / schema
13mo ago
Schema as a Context Tag: Dual Purpose Object
EC
Effect Community / schema
4mo ago