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

x/rimbu/core/menu/table/sorted-row.ts>SortedColumn

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace SortedColumn
import { SortedColumn } from "https://deno.land/x/rimbu@1.0.3/core/menu/table/sorted-row.ts";

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. See the Table documentation and the SortedTableSortedColumn API documentation

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

interface SortedColumn
implements TableBase<R, C, V, SortedTableSortedColumn.Types>
import { type SortedColumn } from "https://deno.land/x/rimbu@1.0.3/core/menu/table/sorted-row.ts";

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 SortedTableSortedColumn API documentation

Examples

Example 1

const t1 = SortedTableSortedColumn.empty<number, string, boolean>()
const t2 = SortedTableSortedColumn.of([1, 'a', true], [2, 'a', false])
variable SortedColumn
import { SortedColumn } from "https://deno.land/x/rimbu@1.0.3/core/menu/table/sorted-row.ts";

type

SortedTableSortedColumnCreators