delete a key if match array js 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