FormulaFunction.applyWithContext method
FormulaFunction › applyWithContext
Unofficial
Evaluates the function in a formula context: sets FormulaFunction.ctx, calls FormulaFunction.apply, then resets it.Signature:
applyWithContext(ctx: FormulaContext, args?: (null | Value)[]): ValueParameters:
| Parameter | Type | Description |
|---|---|---|
| ctx | FormulaContext | The context of the evaluation. |
| args? | (null | Value)[] | The arguments, one per parameter. An omitted optional argument is null. |
Returns: Value — The result of the function.