Interface: WasmFunctionDecl
@kortexya/reasoninglayer / WasmFunctionDecl
Interface: WasmFunctionDecl
Section titled “Interface: WasmFunctionDecl”Defined in: src/types/plugins.ts:48
One eval function a plugin declares.
Example
Section titled “Example”const decl: WasmFunctionDecl = { name: 'haversine', arity: 4 };Properties
Section titled “Properties”arity:
number
Defined in: src/types/plugins.ts:52
The number of named-feature arguments.
name:
string
Defined in: src/types/plugins.ts:50
The function name as invoked from a Ψ-term goal.