search and remove an element from array typescript code example
Example: typescript remove an item from array
myArray.splice(index, 1); // insert index and then amount to remove
// from that index
myArray.splice(index, 1); // insert index and then amount to remove
// from that index