aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Table.remove.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Table.remove.3')
-rw-r--r--man/man3/tomo-Table.remove.337
1 files changed, 37 insertions, 0 deletions
diff --git a/man/man3/tomo-Table.remove.3 b/man/man3/tomo-Table.remove.3
new file mode 100644
index 00000000..2ea6e833
--- /dev/null
+++ b/man/man3/tomo-Table.remove.3
@@ -0,0 +1,37 @@
+'\" t
+.\" Copyright (c) 2025 Bruce Hill
+.\" All rights reserved.
+.\"
+.TH Table.remove 3 2025-04-19T14:30:40.366935 "Tomo man-pages"
+.SH NAME
+Table.remove \- Removes the key-value pair associated with a specified key.
+
+.SH LIBRARY
+Tomo Standard Library
+.SH SYNOPSIS
+.nf
+.BI "Table.remove : func(t: {K=V}, key: K -> Void)"
+.fi
+
+.SH DESCRIPTION
+Removes the key-value pair associated with a specified key.
+
+
+.TS
+allbox;
+lb lb lbx lb
+l l l l.
+Name Type Description Default
+t {K=V} The reference to the table. -
+key K The key of the key-value pair to remove. -
+.TE
+.SH RETURN
+Nothing.
+
+.SH EXAMPLES
+.EX
+t := {"A"=1, "B"=2}
+t.remove("A")
+>> t
+= {"B"=2}
+.EE