Interface UserFnDef

User function definitions.

interface UserFnDef {
    [symEnv]?: null | Env;
    [symFnArgs]?: string[];
    [symFnBody]?: AsyncValue<Value>;
    [symFn]?: true;
}

Properties

[symEnv]?: null | Env

Env scope in which the function is declared in, or null for global scope.

[symFnArgs]?: string[]

Argument names for this function.

[symFnBody]?: AsyncValue<Value>

Function body.

[symFn]?: true

Discriminator for user defined functions.

Generated using TypeDoc