Std.Url.decodeComponent
1 declaration
fn
decodeComponent: Str -> StrThis is a callable function.
What it does
Text with its percent escapes read back.
Escapes name UTF-8 bytes, so %C3%A9 reads back as one é. An escape that
is not two hex digits is left as written, and text whose escapes do not
spell UTF-8 is returned unchanged, because a caller showing the result is
better served by the original than by a guess.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
