Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript remove object from array

const index = myArray.indexOf(key, 0);
if (index > -1) {
   myArray.splice(index, 1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #remove #object #array
ADD COMMENT
Topic
Name
7+5 =