Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/core/menu/menu.ts>Table.SortedRow.HashColumn

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Table.SortedRow.HashColumn
import { Table } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { HashColumn } = Table.SortedRow;

Interfaces

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.

Utility interface that provides higher-kinded types for this collection.

interface Table.SortedRow.HashColumn
implements TableBase<R, C, V, SortedTableHashColumn.Types>
import { type Table } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { HashColumn } = Table.SortedRow;

A 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 SortedTableHashColumn API documentation

Examples

Example 1

const t1 = SortedTableHashColumn.empty<number, string, boolean>()
const t2 = SortedTableHashColumn.of([1, 'a', true], [2, 'a', false])
variable Table.SortedRow.HashColumn
import { Table } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { HashColumn } = Table.SortedRow;

type

SortedTableHashColumnCreators