# CustomFunctionDefinition Interface

> CustomFunctionDefinition interface in the TX Sheet Control TypeScript API for Node.js: Arbitrary host callback. Includes the syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > CustomFunctionDefinition Interface
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/llms-full.txt

---

## On This Page

- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/#see-also)

---

## In This Section

- [CustomFunctionDefinition.evaluate Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/evaluate-method/llms.txt): CustomFunctionDefinition.evaluate method in the Node.js TypeScript API, with the return type FunctionValue | Promise<FunctionValue> and a TypeScript example.
- [CustomFunctionDefinition.isVolatile Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/isvolatile-property/llms.txt): CustomFunctionDefinition.isVolatile property in the TX Sheet Control TypeScript API for Node.js, with its type boolean | undefined and a TypeScript example.
- [CustomFunctionDefinition.maxArguments Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/maxarguments-property/llms.txt): CustomFunctionDefinition.maxArguments property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [CustomFunctionDefinition.minArguments Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/minarguments-property/llms.txt): CustomFunctionDefinition.minArguments property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [CustomFunctionContext.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctioncontext/signal-property/llms.txt)
- **Next:** [CustomFunctionDefinition.evaluate Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/customfunctiondefinition/evaluate-method/llms.txt)
