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

x/rimbu/core/menu/menu.ts>Table.HashRow.SortedColumn.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface Table.HashRow.SortedColumn.NonEmpty
implements [TableBase.NonEmpty]<R, C, V, HashTableSortedColumn.Types>, Omit<HashTableSortedColumn<R, C, V>, keyof TableBase.NonEmpty<any, any, any, any>>, [Streamable.NonEmpty]<[R, C, V]>
import { type Table } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { NonEmpty } = Table.HashRow.SortedColumn;

A non-empty type-invariant immutable Table of row key type R, column key type C, and value type V. In the Table, a combination of a row and column key has exactly one value. See the Table documentation and the HashTableSortedColumn API documentation

Examples

Example 1

const t1 = HashTableSortedColumn.empty<number, string, boolean>()
const t2 = HashTableSortedColumn.of([1, 'a', true], [2, 'a', false])