@sovereignbase/sequencer
    Preparing search index...

    Function insert

    • Inserts values at one visible Projection index.

      Native update issues the Strip and handles birth, before, or tail placement. The returned Delta contains its flat twelve-word encoding and the supplied values array itself. No defensive Footage copy is made.

      Type Parameters

      • T

      Parameters

      • state: Replica<T>

        Replica to modify.

      • index: number

        Insertion position, including the current Projection end.

      • values: T[]

        Nonempty contiguous values to insert.

      Returns false | Delta<T>

      The issued Delta, or false for invalid input or rejected issuance.

      Reads and releases the native result buffer synchronously. Rejected issuance leaves JavaScript Footage unchanged.