title: How to remove an element by considering the name of the element in string array in Typescript
body: <p>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</p>
  
  <pre><code>let myarr =[
      {
          name: "joe",
          age : 22
      },
      {
          name: "nick",
          age : 23
      },
      {
          name: "tom",
          age : 25
      }
  ]
  </code></pre>
  
  <p>I want to remove this part from the main array, by considering the name that <code>nick</code></p>
  
  <pre><code>{
      name: "nick",
      age : 23
  }
  </code></pre>
  
  <p>What I need to do this thing.</p>