(name: string)
| 246 | * Read a single query parameter. |
| 247 | */ |
| 248 | export function getQueryParam(name: string): string { |
| 249 | if (typeof window === "undefined") return ""; |
| 250 | return new URLSearchParams(window.location.search).get(name)?.trim() ?? ""; |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * Read repeated query parameter values. |
no outgoing calls
no test coverage detected