Object length in typescript?
This question already has an answer here:
您可以尝试以下操作:
Object.keys(customer).length
Object.keys(this.customer).length
链接地址: http://www.djcxy.com/p/27254.html
上一篇: 在JSON中计数键/值
下一篇: 打字稿中的对象长度?