MCPcopy Create free account
hub / github.com/middleapi/orpc / tryDecodeURIComponent

Function tryDecodeURIComponent

packages/shared/src/uri.ts:1–9  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1export function tryDecodeURIComponent(value: string): string {
2 try {
3 // eslint-disable-next-line ban/ban
4 return decodeURIComponent(value)
5 }
6 catch {
7 return value
8 }
9}

Callers 3

decodeParamsFunction · 0.90
uri.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected