Skip to main content
Module

x/automerge/stable.ts>List

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Go to Latest
interface List
implements Array<T>
import { type List } from "https://deno.land/x/automerge@2.2.0/stable.ts";

A List is an extended Array that adds the two helper methods deleteAt and insertAt.

Methods

insertAt(index: number, ...args: T[]): List<T>
deleteAt(index: number, numDelete?: number): List<T>