@automerge/automerge - v3.0.0
    Preparing search index...

    Function getCursorPosition

    • Returns the current index of the cursor.

      Type Parameters

      • T

        The type of the value contained in the document

      Parameters

      • doc: Doc<T>

        The document

      • path: Prop[]

        The path to the string

      • cursor: string

      Returns number