import { type VariantSetBase } from "https://deno.land/x/rimbu@1.1.0/collection-types/set-custom/index.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.