llm
Download
37 lines 540 BGroffModified 2026-03-09 raw
12345678910111213141516171819202122232425262728293031323334353637
'\" t
.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
.TH Table.clear 3 2026-03-08 "Tomo man-pages"
.SH NAME
Table.clear \- clear a table
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Table.clear\ :\ func(t:\ &{K:V}\ ->\ Void)
.fi
.SH DESCRIPTION
Removes all key-value pairs from the table.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx
l l l.
Name	Type	Description
t	&{K:V}	The reference to the table. 
.TE
.SH RETURN
Nothing.

.SH EXAMPLES
.EX
t := &{"A":1}
t.clear()
assert t[] == {}
.EE
.SH SEE ALSO
.BR Tomo-Table (3)