The type of the live case.
#import "Extensions/Variant";
id := variant(Variant(s64, string), "abc");
assert(variant_type(id) == string);variant_type :: (v: $V/Variant) -> Type
Parameters
- v: $V/Variant
Returns
- Type
The type of the live case.
#import "Extensions/Variant";
id := variant(Variant(s64, string), "abc");
assert(variant_type(id) == string);variant_type :: (v: $V/Variant) -> Type