SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function referenceSpan

    • Character span (after the leading prefix — base; see formulaPrefixLen) of the reference at refIndex — start = its first token's start, end = its last token's end. null if that reference isn't present. Walks the ORIGINAL tokens (faithful text); used to tell whether the caret is on a reference the picker rewrote, and to park it at that reference's end.

      Parameters

      • tokens: readonly FormulaToken[]
      • refIndex: number
      • base: number

      Returns { end: number; start: number } | null