Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript remove element from array

let foo_object // Item to remove
this.foo_objects = this.foo_objects.filter(obj => obj !== foo_object);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #remove #element #array
ADD COMMENT
Topic
Name
3+8 =