Skip to main content
Module

x/rimbu/mod.ts>Table

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

Interfaces

A mutable Table builder used to efficiently create new immutable instances. See the Table documentation and the Table.Builder API documentation

A context instance for Table implementations that acts as a factory for every instance of this type of collection.

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

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

interface Table
implements TableBase<R, C, V, Table.Types>
import { type Table } from "https://deno.land/x/rimbu@0.14.0/mod.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 Table API documentation

Examples

Example 1

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