Appearance
True Myth / result / Variant
Variant = keyof typeof Variant
Variant
Discriminant for Ok and Err variants of the Result type.
Ok
Err
Result
You can use the discriminant via the variant property of Result instances if you need to match explicitly on it.
variant