(self: HashSet<V>, value: V)
| 85 | |
| 86 | /** @internal */ |
| 87 | export const add = <V>(self: HashSet<V>, value: V): HashSet<V> => { |
| 88 | const map = keyMap(self) |
| 89 | return HashMap.has(map, value) ? self : makeImpl(HashMap.set(map, value, true)) |
| 90 | } |
| 91 | |
| 92 | /** @internal */ |
| 93 | export const remove = <V>(self: HashSet<V>, value: V): HashSet<V> => { |
no test coverage detected