How would I write a generic function to handle multiple record types in ReScript?

后端 未结 0 1198
误落风尘
误落风尘 2021-02-15 12:28

Given the following contrived example, is it possible to write a get function that can handle any record with an a property?

type type_o         


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