Function
src/index.ts:571nerdamer.setFunction
nerdamer.setFunction(name: string, args: string[], body: string): typeof nerdamerRegisters a symbolic function using the legacy public signature.
Calls subsequently parsed with name substitute their arguments into body
in the supplied order. Registration changes shared parser state.
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Function name. |
args | string[] | Argument names in call order. |
body | string | Symbolic function body. |
Returns
typeof nerdamer — The root nerdamer function for chaining.
