Loop through and check type of object TS/JS

前端 未结 0 1832
轮回少年
轮回少年 2021-02-01 06:17

I wish to loop through an object in Typescript/Javascript and check for a specific type.

interface inter {
    first: string;
    second: number;
    third: strin         


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