MCPcopy Index your code
hub / github.com/ClearURLs/Addon / isEncodedURI

Function isEncodedURI

core_js/tools.js:262–264  ·  view source on GitHub ↗

* Returns true, iff the given URI is encoded * @see https://stackoverflow.com/a/38265168

(uri)

Source from the content-addressed store, hash-verified

260 * @see https://stackoverflow.com/a/38265168
261 */
262function isEncodedURI(uri) {
263 return uri !== decodeURIComponent(uri || '')
264}
265
266/**
267 * Gets the value of at `key` an object. If the resolved value is `undefined`, the `defaultValue` is returned in its place.

Callers 1

decodeURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected