import { type VariantMultiSetBase } from "https://deno.land/x/rimbu@1.2.0/multiset/custom/interface/base.ts";
const { NonEmpty } = VariantMultiSetBase;
Type Parameters
optional
Tp extends VariantMultiSetBase.Types = VariantMultiSetBase.TypesMethods
Returns this collection typed as a 'possibly empty' collection.
stream(): Stream.NonEmpty<T>
Returns a non-empty Stream containing all values of this collection.
streamDistinct(): Stream.NonEmpty<T>
Returns a non-empty Stream containing all distinct values of this collection.
toArray(): ArrayNonEmpty<T>
Returns a non-empty array containing all values in this collection.