Find the formulas of a joined batch whose result is an array, such as
=SEQUENCE(3) or =A1:A3, which an XLSX file marks as dynamic arrays so
Excel spills them. Each formula is read on its own, without a workbook, so
a name that stands for a range does not count. The batch is split as in
convertXlsxFormulas.
Declaration
function xlsxArrayFormulas( joined: string, ends: Uint32Array,): Uint32ArrayParameters
joined: stringrequiredEvery formula's text in editor spelling, one after another, without separators.
ends: Uint32ArrayrequiredWhere each formula ends in joined, as a UTF-16 offset.
Returns
Uint32ArrayThe input index of each formula whose result is an array, ascending; throws when an end splits a surrogate pair or falls outside joined.
Referenced by
Public exports naming xlsxArrayFormulas
arrayFormulaIndices@sheetwrite/formulasInitOutput@sheetwrite/formulasarrayFormulaIndices@sheetwrite/wasmInitOutput@sheetwrite/wasm