Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/troch/path-parser
/ isQueryParam
Method
isQueryParam
src/Path.ts:158–160 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
156
}
157
158
public isQueryParam(name: string): boolean {
159
return
this.queryParams.indexOf(name) !== -1
160
}
161
162
public isSpatParam(name: string): boolean {
163
return
this.spatParams.indexOf(name) !== -1
Callers
3
test
Method · 0.95
partialTest
Method · 0.95
build
Method · 0.95
Calls
no outgoing calls
Tested by
1
test
Method · 0.76