(url: string, list: string[])
| 90 | * @paramlist List to search into. |
| 91 | */ |
| 92 | export function isURLInList(url: string, list: string[]): boolean { |
| 93 | for (let i = 0; i < list.length; i++) { |
| 94 | if (isURLMatched(url, list[i])) { |
| 95 | return true; |
| 96 | } |
| 97 | } |
| 98 | return false; |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Determines whether URL matches the template. |
no test coverage detected