import { MultiSetBase } from "https://deno.land/x/rimbu@1.2.1/multiset/custom/index.ts";
Interfaces
Utility interface that provides higher-kinded types for this collection. |
import { type MultiSetBase } from "https://deno.land/x/rimbu@1.2.1/multiset/custom/index.ts";
Type Parameters
optional
Tp extends MultiSetBase.Types = MultiSetBase.TypesMethods
addAll(values: StreamSource<T>): WithElem<Tp, T>["normal"]
addEntries(entries: StreamSource<readonly [T, number]>): WithElem<Tp, T>["normal"]
Returns the collection where for every entry in entries
consisting of a tuple
of a value and an amount, that value is added amount
times.