title: How to check if given url matches any existing url?
body: <p>I'm trying to do searching in my angular project and I want to check f url with value which user provides matches any existing url and return those urls.</p>
  <p>this is fragment of my service.ts</p>
  <pre><code>const baseUrl = 'http://localhost:3000/clients';
  
    findByName(value: any): Observable&lt;any&gt; {
      return this.http.get(`${baseUrl}?name=${value}`);
    }
  </code></pre>
  <p>Is there any function which I can use? I was searching a lot but didn't find any useful answer.</p>