Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/ordered/set-custom/interface/base.ts>OrderedSetBase.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface OrderedSetBase.NonEmpty
implements [RSetBase.NonEmpty]<T, Tp>, [Streamable.NonEmpty]<T>
import { type OrderedSetBase } from "https://deno.land/x/rimbu@1.0.2/ordered/set-custom/interface/base.ts";
const { NonEmpty } = OrderedSetBase;

Properties

readonly
order: List.NonEmpty<T>

Returns a non-empty List instance containing the order of the elements.

readonly
sourceSet: WithElem<Tp, T>["sourceSetNonEmpty"]

Returns the contained non-empty Set instance.