Check that array of tuples (2d array) has at least 1 item in Typescript

后端 未结 0 1047
礼貌的吻别
礼貌的吻别 2020-12-06 18:48

I have a simple type check in my Typescript variable declaration that ensures all elements in an array of tuples are of length 2 and are both numbers:

const t         


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