Skip to content

Commit

Permalink
client.case* funtion docs
Browse files Browse the repository at this point in the history
  • Loading branch information
prawnsalad committed Mar 7, 2021
1 parent 924836b commit dedb0f9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/clientapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ Create a channel object with the following methods:
* `part([part_message])`
* `join([key])`

##### `.caseCompare(string1, string2)`
Compare two strings using the networks casemapping setting.

##### `.caseUpper(string)`
Uppercase the characters in string using the networks casemapping setting.

##### `.caseLower(string)`
Lowercase the characters in string using the networks casemapping setting.

##### `.match(match_regex, cb[, message_type])`
Call `cb()` when any incoming message matches `match_regex`.

Expand Down

0 comments on commit dedb0f9

Please sign in to comment.