Method
Add
func Add(value: T) -> bool
Declaring type: HashSet<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: HashSet.rvn
Implements MutableSet<T>.Add
Adds an element without replacing an equivalent stored element.
Parameters
| Name | Type | Description |
|---|---|---|
value |
T | Element to test or modify. |
Return value
True if membership changed; false otherwise.