Skip to content
Sheetwrite

@sheetwrite/wasm

formulasFromXlsxfunction

Report a problem

On this page

The XLSX formulas in editor spelling, without the _xlfn. and _xlpm. prefixes, in input order. It calls convertXlsxFormulas once for the whole list; only the changed formulas come back from WASM.

Declaration

function formulasFromXlsx(
engine: Pick<typeof WasmExports, "convertXlsxFormulas">,
formulas: readonly string[],
): string[]

Parameters

engine: Pick<typeof WasmExports, "convertXlsxFormulas">required

The loaded package, or an engine from createEngine.

formulas: readonly string[]required

The formulas as an XLSX file holds them.

Returns

string[]

One formula for each input; an unchanged formula is the input string.

See also