Skip to content

Commit dedb0f9

Browse files
committed
client.case* funtion docs
1 parent 924836b commit dedb0f9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/clientapi.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ Create a channel object with the following methods:
131131
* `part([part_message])`
132132
* `join([key])`
133133

134+
##### `.caseCompare(string1, string2)`
135+
Compare two strings using the networks casemapping setting.
136+
137+
##### `.caseUpper(string)`
138+
Uppercase the characters in string using the networks casemapping setting.
139+
140+
##### `.caseLower(string)`
141+
Lowercase the characters in string using the networks casemapping setting.
142+
134143
##### `.match(match_regex, cb[, message_type])`
135144
Call `cb()` when any incoming message matches `match_regex`.
136145

0 commit comments

Comments
 (0)