Function
isSubset
(self: HashSet<V0>, that: HashSet<V1>)
Source from the content-addressed store, hash-verified
| 139 | |
| 140 | /** @internal */ |
| 141 | export const isSubset = <V0, V1>(self: HashSet<V0>, that: HashSet<V1>): boolean => { |
| 142 | for (const value of self) { |
| 143 | if (!has(that, value as any)) { |
| 144 | return false |
| 145 | } |
| 146 | } |
| 147 | return true |
| 148 | } |
| 149 | |
| 150 | /** @internal */ |
| 151 | export const map = <V, U>(self: HashSet<V>, f: (value: V) => U): HashSet<U> => { |
Callers
nothing calls this directly
Tested by
no test coverage detected