aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Table.has.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Table.has.3')
-rw-r--r--man/man3/tomo-Table.has.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man3/tomo-Table.has.3 b/man/man3/tomo-Table.has.3
index 40111400..96b4fa0c 100644
--- a/man/man3/tomo-Table.has.3
+++ b/man/man3/tomo-Table.has.3
@@ -2,14 +2,14 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Table.has 3 2025-05-17 "Tomo man-pages"
+.TH Table.has 3 2025-09-06 "Tomo man-pages"
.SH NAME
Table.has \- check for a key
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
-.BI Table.has\ :\ func(t:\ {K=V},\ key:\ K\ ->\ Bool)
+.BI Table.has\ :\ func(t:\ {K:V},\ key:\ K\ ->\ Bool)
.fi
.SH DESCRIPTION
Checks if the table contains a specified key.
@@ -22,7 +22,7 @@ allbox;
lb lb lbx lb
l l l l.
Name Type Description Default
-t {K=V} The table. -
+t {K:V} The table. -
key K The key to check for presence. -
.TE
.SH RETURN
@@ -30,8 +30,8 @@ key K The key to check for presence. -
.SH EXAMPLES
.EX
->> {"A"=1, "B"=2}.has("A")
+>> {"A": 1, "B": 2}.has("A")
= yes
->> {"A"=1, "B"=2}.has("xxx")
+>> {"A": 1, "B": 2}.has("xxx")
= no
.EE