MCPcopy
hub / github.com/qax-os/excelize / newErrorFormulaArg

Function newErrorFormulaArg

calc.go:958–960  ·  view source on GitHub ↗

newErrorFormulaArg create an error formula argument of a given type with a specified error message.

(formulaError, msg string)

Source from the content-addressed store, hash-verified

956// newErrorFormulaArg create an error formula argument of a given type with a
957// specified error message.
958func newErrorFormulaArg(formulaError, msg string) formulaArg {
959 return formulaArg{Type: ArgError, String: formulaError, Error: msg}
960}
961
962// newEmptyFormulaArg create an empty formula argument.
963func newEmptyFormulaArg() formulaArg {

Callers 15

ToNumberMethod · 0.85
ToBoolMethod · 0.85
newNumberFormulaArgFunction · 0.85
evalInfixExpMethod · 0.85
prepareEvalInfixExpFunction · 0.85
parseReferenceMethod · 0.85
cellResolverMethod · 0.85
callFuncByNameFunction · 0.85
BESSELIMethod · 0.85
BESSELJMethod · 0.85
BESSELKMethod · 0.85
BESSELYMethod · 0.85

Calls

no outgoing calls

Tested by 3

TestGetFormulaUniqueArgsFunction · 0.68
TestCalcMATCHFunction · 0.68
TestPrepareTrendGrowthFunction · 0.68