What does array.find() return in Typescript/Javascript?
I have the next line in Typescript const addressFound: AddressPrimary = <AddressPrimary>(this.addressArray.find(addr => addr.id === id)); AddressPrimary is a class that has a few variables in it one of them is id: number another one is city: number and there…