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

    Interface NamedRef

    The FormulaToken.value of a named token — a reference to a named formula, split into its name and its optional sheet qualifier.

    The counterpart of IRange.FixableCellCoords for a cell token: the qualifier lives beside the name rather than smeared into it, so a serializer can re-emit Sheet1!MyName without re-parsing the text.

    interface NamedRef {
        declaration?: boolean;
        name: string;
        optional?: boolean;
        scope?: string | null;
    }
    Index
    declaration?: boolean

    true on a parameter token that DECLARES its name — x in LET(x,1,x+1), a in LAMBDA(a,a+1) — rather than using it.

    name: string

    The name as it should be displayed or typed, e.g. MyName.

    Always the CURRENT display name — a rename is already reflected here, and the name a consumer reads is the one they can hand back to the API.

    optional?: boolean

    true on an OPTIONAL LAMBDA parameter DECLARATION — the [b] in LAMBDA(a,[b],a+1).

    The brackets are declaration syntax, not part of the name (name stays b), so they are carried as this flag and re-imaged by the serializer — the same split as a sheet qualifier. Never set on a USE of the parameter, nor outside a LAMBDA declaration list.

    scope?: string | null

    The sheet name for a sheet-scoped name (Sheet1!MyName).

    Absent (or null) for a workbook-scoped name — the common case. Bare, so it still needs quoting when it contains spaces.