aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.has.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Text.has.3')
-rw-r--r--man/man3/tomo-Text.has.38
1 files changed, 3 insertions, 5 deletions
diff --git a/man/man3/tomo-Text.has.3 b/man/man3/tomo-Text.has.3
index c9990add..75b6b0c9 100644
--- a/man/man3/tomo-Text.has.3
+++ b/man/man3/tomo-Text.has.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.has 3 2025-04-30 "Tomo man-pages"
+.TH Text.has 3 2025-09-21 "Tomo man-pages"
.SH NAME
Text.has \- check for substring
.SH LIBRARY
@@ -30,8 +30,6 @@ target Text The text to search for. -
.SH EXAMPLES
.EX
->> "hello world".has("wo")
-= yes
->> "hello world".has("xxx")
-= no
+assert "hello world".has("wo") == yes
+assert "hello world".has("xxx") == no
.EE