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

x/rimbu/ordered/map-custom/index.ts>OrderedMapBase.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface OrderedMapBase.NonEmpty
implements [RMapBase.NonEmpty]<K, V, Tp>, Omit<OrderedMapBase<K, V, Tp>, keyof RMapBase.NonEmpty<any, any, any>>, [Streamable.NonEmpty]<readonly [K, V]>
import { type OrderedMapBase } from "https://deno.land/x/rimbu@0.13.5/ordered/map-custom/index.ts";
const { NonEmpty } = OrderedMapBase;

Properties

readonly
keyOrder: List.NonEmpty<K>

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

readonly
sourceMap: WithKeyValue<Tp, K, V>["sourceMapNonEmpty"]

Returns the contained non-empty Map instance.

Methods

stream(): Stream.NonEmpty<readonly [K, V]>