Hello!
Is it possible to unwrap tagged union returned from func. at place without a switch? Given, I’m hundred percent sure about the type it contains at runtime.
Hello!
Is it possible to unwrap tagged union returned from func. at place without a switch? Given, I’m hundred percent sure about the type it contains at runtime.
You just use the dot .
syntax on the variable: my_tagged_union_var.field
.
Thank you!