(37 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Table.clear 3 2026-03-08 "Tomo man-pages"6 .SH NAME7 Table.clear \- clear a table8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Table.clear\ :\ func(t:\ &{K:V}\ ->\ Void)13 .fi14 .SH DESCRIPTION15 Removes all key-value pairs from the table.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 t &{K:V} The reference to the table.26 .TE27 .SH RETURN28 Nothing.30 .SH EXAMPLES31 .EX32 t := &{"A":1}33 t.clear()34 assert t[] == {}35 .EE36 .SH SEE ALSO37 .BR Tomo-Table (3)