import { type VariantSetBase } from "https://deno.land/x/rimbu@1.0.3/collection-types/set-custom/interface/base.ts";
const { NonEmpty } = VariantSetBase;
Type Parameters
optional
Tp extends VariantSetBase.Types = VariantSetBase.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.
toArray(): ArrayNonEmpty<T>
Returns a non-empty array containing all values in this collection.