GSTrans string conversion: Difference between revisions
m
→{{header|Wren}}: Added previously missing import and changed to Wren S/H
m ([Emacs Lisp]update output format) |
m (→{{header|Wren}}: Added previously missing import and changed to Wren S/H) |
||
Line 1,063:
If an invalid byte (following the "|" flag) is encountered whilst decoding, it is decoded as if the flag were not present.
<syntaxhighlight lang="
class GSTrans {
static encode(s, upper) {
if (!(s is String && s.count > 0)) Fiber.abort("Argument must be a non-empty string.")
|