Is there better way to unwrap record from sum type?

前端 未结 0 1177
清酒与你
清酒与你 2021-01-22 07:36

I have a sum type with record param, records have the same prop of the same type (tag :: String), and I need to get its value from passed T type value.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题