Syntax Lookup
Enter some language construct you want to know more about.
This is the @tag decorator.
The @tag
decorator is used to customize the discriminator for tagged variants.
Notice the different discriminators in the JS output: TAG
in mood
vs kind
in mood2
.
Read more about using @tag
with variants.