import { VariantMultiSetBase } from "https://deno.land/x/rimbu@1.2.0/multiset/custom/index.ts";
Interfaces
Utility interface that provides higher-kinded types for this collection. |
import { type VariantMultiSetBase } from "https://deno.land/x/rimbu@1.2.0/multiset/custom/index.ts";
Type Parameters
Methods
Returns true if there is at least one entry in the collection, and instructs the compiler to treat the collection as a .NonEmpty type.
Returns the collection where the given amount
(default: 'ALL') of the given value
are removed.
Returns the collection where every single value from given values
StreamSource
is
removed.
Returns the collection where for every value from given values
StreamSource
,
all values in the collection are removed.
Returns true if the given value
exists in the collection.
Returns the amount of occurrances of the given value
in the collection.
Performs given function f
for each value of the collection, using given state
as initial traversal state.
Returns the collection containing only those values for which the given pred
function returns true.
Returns an array containing all values in this collection.