aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Set.remove.3
blob: 55fedf966ede6fadfcecbb1931dc7b8841392634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Set.remove 3 2025-04-21 "Tomo man-pages"
.SH NAME
Set.remove \- remove an item from a set
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Set.remove\ :\ func(set:\ @|T|,\ item:\ T\ ->\ Void)
.fi
.SH DESCRIPTION
Removes an item from the set.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx lb
l l l l.
Name	Type	Description	Default
set	@|T|	The mutable reference to the set. 	-
item	T	The item to remove from the set. 	-
.TE
.SH RETURN
Nothing.

.SH EXAMPLES
.EX
>> nums.remove(42)
.EE