Skip to main content
Module

x/rimbu/ordered/set-custom/index.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@0.14.0/ordered/set-custom/index.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.