summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKevin K <xkeviota@gmail.com>2023-08-26 17:35:52 +0200
committerGitHub <noreply@github.com>2023-08-26 17:35:52 +0200
commit45bd58fbaac4419a45246865cf44ded7920d5b84 (patch)
tree871fe5a273b5cd46880e76200284661bf6c7c115 /docs
parentcd13e55dd1577fd98943982b686f245940d5ab72 (diff)
Implement `rev()` method on string (#2013)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/types.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/reference/types.md b/docs/reference/types.md
index b0ee1bd1..365593f3 100644
--- a/docs/reference/types.md
+++ b/docs/reference/types.md
@@ -689,6 +689,11 @@ string and returns the resulting string.
If given, only the first `count` matches of the pattern are placed.
- returns: string
+### rev()
+Reverses the grapheme clusters and returns the resulting string.
+
+- returns: string
+
### trim()
Removes matches of a pattern from one or both sides of the string, once or
repeatedly and returns the resulting string.