Appearance
helix / CallableFn
Interface: CallableFn<P> โ
Defined in: core/function_ref.ts:34
A function built by dp.fn: score params, and a score result if returns. Call it with ctx.invoke.
Extends โ
Type Parameters โ
P โ
Properties โ
node โ
node:
FunctionNode
Defined in: core/function_ref.ts:13
Inherited from โ
params โ
readonlyparams:P
Defined in: core/function_ref.ts:37
returns โ
readonlyreturns:boolean
Defined in: core/function_ref.ts:38
Methods โ
build() โ
build(
builder):this
Defined in: core/function_ref.ts:16
Appends builder's commands to the function; returns the ref.
Parameters โ
builder โ
(ctx) => void
Returns โ
this
Inherited from โ
getName() โ
getName():
string
Defined in: core/function_ref.ts:23
The function's output name, e.g. zzzprivate/door/open.
Returns โ
string
Inherited from โ
render() โ
render():
string
Defined in: core/function_ref.ts:28
The function's id, e.g. pack:zzzprivate/door/open.
Returns โ
string