(self: HashSet<V>)
| 100 | |
| 101 | /** @internal */ |
| 102 | export const isEmpty = <V>(self: HashSet<V>): boolean => HashMap.isEmpty(keyMap(self)) |
| 103 | |
| 104 | // Helper function for building new HashSets from iteration |
| 105 | const fromPredicate = <V>(self: HashSet<V>, predicate: (value: V) => boolean): HashSet<V> => { |