Unwrapping tagged union at place

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.

3 Likes

Thank you!

1 Like