Skip to main content

Function: registerFunction()

function registerFunction(
name,
fn,
meta
): void;

Defined in: packages/core/src/expr/functions.ts:1050

Register a host function into the default registry (docs/05 §8). Throws RASD_EXPR_FUNCTION_EXISTS rather than silently replacing an existing implementation — a form validated against one meaning must not evaluate with another.

Parameters

ParameterType
namestring
fnRelFunction
metaFunctionMeta

Returns

void