* Returns true, iff the given URI is encoded * @see https://stackoverflow.com/a/38265168
(uri)
| 260 | * @see https://stackoverflow.com/a/38265168 |
| 261 | */ |
| 262 | function 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. |