(query?: LocationQueryValue | LocationQueryValue[])
| 39 | } |
| 40 | |
| 41 | export function normalizeSearchParam(query?: LocationQueryValue | LocationQueryValue[]): string { |
| 42 | if (!query) return '' |
| 43 | |
| 44 | if (typeof query === 'string') return query |
| 45 | |
| 46 | return normalizeSearchParam(query[0]) |
| 47 | } |
no outgoing calls
no test coverage detected