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

    Interface RenderFormulaOptions

    Options for renderFormula.

    interface RenderFormulaOptions {
        context?: ISheet;
        maxTokens?: number;
    }
    Index
    context?: ISheet

    The sheet an identifier is resolved against.

    the sheet owning the formula's first reference
    

    Names, tables and functions are all scoped, so resolving one requires knowing where the formula lives — which ICalculation.IFormula does not carry. It is normally recoverable from getReferences(), and this option covers the case where it is not: a formula whose references are all names or constants (=TAX_RATE * 100) resolves nothing without it.

    maxTokens?: number

    Cap on listed tokens; the report notes truncation when exceeded.

    200