Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainjet/platform
/ getQueryParam
Function
getQueryParam
libs/common/src/utils/url.utils.ts:1–3 ·
view source on GitHub ↗
(url: string, param: string)
Source
from the content-addressed store, hash-verified
1
export
function
getQueryParam(url: string, param: string): string | null {
2
return
new
URL(url.replace(
'/#/'
,
'/'
)).searchParams.get(param)
3
}
Callers
2
beforeOperationRun
Method · 0.90
url.utils.spec.ts
File · 0.90
Calls
1
get
Method · 0.45
Tested by
no test coverage detected