Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/ordered/map-custom/interface/base.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.1/ordered/map-custom/interface/base.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]>