title: I need to search data in an array according to filter and set start form index of 1
body: <p>I need to search data in an array according to filter so I am able to do it I am searching data according to name and id but in the backend in index 0 I am not getting and name and id only getting one number so when I search data I am getting an undefined error so what my task is I need to set filter to start searching from index 1 mean ignore index 0</p>
  <p>coming data example from a backend</p>
  <pre><code>[
    2,
    {
      search_id: &quot;10000107&quot;,
      name: &quot;dev name&quot;,
      
    },
    {
      search_id: &quot;10000106&quot;,
      name: &quot;alberto&quot;,
     
    },
  ]
  </code></pre>
  <pre><code>function handleSearch(term) {
      const dummy = props.new_alert_list.filter((item) =&gt;
        item.name.toLowerCase().includes(term)
      );
      const dummy1 = props.new_alert_list.filter((item) =&gt;
        item.search_id.includes(term)
      );
      const no = parseInt(term);
      if (isNaN(no)) setItems(dummy);
      else setItems(dummy1);
    }
  </code></pre>