* Check if value is a URL * @param {string} value string to check * @returns {boolean} true if value is a URL
(value)
| 92 | * @returns {boolean} true if value is a URL |
| 93 | */ |
| 94 | function isURL(value) { |
| 95 | return validProtocolPattern.test(value) && !isAbsolute(value); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Fetch from multiple possible file paths |
no test coverage detected