* @param {string} url The path to check for query strings or fragments. * @returns {boolean} Returns true if the path contains a query string or fragment.
(url)
| 93 | * @returns {boolean} Returns true if the path contains a query string or fragment. |
| 94 | */ |
| 95 | function pathHasQueryOrFragment (url) { |
| 96 | return ( |
| 97 | url.includes('?') || |
| 98 | url.includes('#') |
| 99 | ) |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * @param {string} url The URL to add the query params to |
no outgoing calls
no test coverage detected
searching dependent graphs…