Typescript Find Value In Array Of Pointers With Example