( name: string, fn: (this: Evaluator, ...args: Array<any>) => any, fnInfo?: FunctionDocItem )
| 47 | * @param fnInfo |
| 48 | */ |
| 49 | export function registerFormula( |
| 50 | name: string, |
| 51 | fn: (this: Evaluator, ...args: Array<any>) => any, |
| 52 | fnInfo?: FunctionDocItem |
| 53 | ) { |
| 54 | registerFunction(name, fn); |
| 55 | fnInfo && registerFunctionDoc(fnInfo.namespace || 'Others', fnInfo); |
| 56 | } |
nothing calls this directly
no test coverage detected