Reference

Collection

A keyed collection with independent row, order, and count dependencies.

Signature

interface Collection

Members

count: ReadonlyCell<number>
order: ReadonlyCell<readonly TKey[]>
function append(item: TRow): void
function move(key: TKey, options: { before: TKey }): void
function patch(key: TKey, values: Partial<TRow>): void
function remove(key: TKey): void
function row(key: TKey): ReadonlyCell<TRow | undefined> | undefined
function toArray(): TRow[]