Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

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 โ€‹

P extends Score[] = Score[]

Properties โ€‹

node โ€‹

node: FunctionNode

Defined in: core/function_ref.ts:13

Inherited from โ€‹

FunctionRef.node


params โ€‹

readonly params: P

Defined in: core/function_ref.ts:37


returns โ€‹

readonly returns: 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 โ€‹

FunctionRef.build


getName() โ€‹

getName(): string

Defined in: core/function_ref.ts:23

The function's output name, e.g. zzzprivate/door/open.

Returns โ€‹

string

Inherited from โ€‹

FunctionRef.getName


render() โ€‹

render(): string

Defined in: core/function_ref.ts:28

The function's id, e.g. pack:zzzprivate/door/open.

Returns โ€‹

string

Inherited from โ€‹

FunctionRef.render

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.