Skip to content

Commit b24b213

Browse files
committed
Strings\upper?: also added documentation example for Char values
1 parent cb272da commit b24b213

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/library/Strings.nim

+3
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,9 @@ proc defineLibrary*() =
11751175
upper? "x" ; => false
11761176
upper? "Hello World" ; => false
11771177
upper? "HELLO" ; => true
1178+
..........
1179+
upper? 'A' ; => true
1180+
upper? 'a' ; => false
11781181
""":
11791182
#=======================================================
11801183
if xKind==Char:

0 commit comments

Comments
 (0)