📜  在数组 ts 中查找值 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:29.298000             🧑  作者: Mango

代码示例1
this.persons =  this.personService.getPersons().find(x => x.id == this.personId);