(other: MultiSet<T> | MultiSetArray<T>)
| 205 | } |
| 206 | |
| 207 | extend(other: MultiSet<T> | MultiSetArray<T>): void { |
| 208 | const otherArray = other instanceof MultiSet ? other.getInner() : other |
| 209 | chunkedArrayPush(this.#inner, otherArray) |
| 210 | } |
| 211 | |
| 212 | add(item: T, multiplicity: number): void { |
| 213 | if (multiplicity !== 0) { |
no test coverage detected