I have a question about typescript. I want to remove an element by considering the name of the key value as follow. Let's take the array as follow
let myarr =[
{
name: "joe",
age : 22
},
{
name: "nick",
age : 23
},
{
name: "tom",
age : 25
}
]
I want to remove this part from the main array, by considering the name that nick
{
name: "nick",
age : 23
}
What I need to do this thing.