(url: string, trie: URLTrie<any>)
| 486 | } |
| 487 | |
| 488 | export function isURLInIndexedList(url: string, trie: URLTrie<any>) { |
| 489 | const matches = getURLMatchesFromIndexedList(url, trie, true); |
| 490 | return matches.length > 0; |
| 491 | } |
| 492 | |
| 493 | export function getURLMatchesFromIndexedList<T>(url: string, trie: URLTrie<T>, breakOnFirstMatch = false): T[] { |
| 494 | const found = new Set<T>(); |
no test coverage detected