Skip to main content
Module

x/rimbu/table/custom/index.ts>TableEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class TableEmpty
implements TableBase<R, C, V, Tp>
extends EmptyBase
import { TableEmpty } from "https://deno.land/x/rimbu@0.13.1/table/custom/index.ts";

Constructors

new
TableEmpty(context: WithRow<Tp, R, C, V>["context"])

Properties

readonly
amountRows: 0
readonly
rowMap: WithRow<Tp, R, C, V>["rowMap"]

Methods

addEntries(entries: StreamSource<readonly [R, C, V]>): WithRow<Tp, R, C, V>["normal"] | any
addEntry(entry: readonly [R, C, V]): WithRow<Tp, R, C, V>["nonEmpty"]
filterRows(): WithRow<Tp, R, C, V>["normal"]
get<_, __, O>(
row: R,
column: C,
otherwise?: OptLazy<O>,
): O
getRow(): WithRow<Tp, R, C, V>["row"]
hasRowKey(): false
hasValueAt(): false
mapValues(): WithRow<Tp, R, C, V>["normal"]
modifyAt(
row: R,
column: C,
options: { ifNew?: OptLazyOr<V, Token>; },
): WithRow<Tp, R, C, V>["normal"]
remove(): WithRow<Tp, R, C, V>["normal"]
removeAndGet(): undefined
removeEntries(): WithRow<Tp, R, C, V>["normal"]
removeRow(): WithRow<Tp, R, C, V>["normal"]
removeRowAndGet(): undefined
removeRows(): WithRow<Tp, R, C, V>["normal"]
set(
row: R,
column: C,
value: V,
): WithRow<Tp, R, C, V>["nonEmpty"]
toBuilder(): WithRow<Tp, R, C, V>["builder"]
toJSON(): ToJSON<[R, [C, V][]][]>
toString(): string
updateAt(): WithRow<Tp, R, C, V>["normal"]