interface IExpressionFunction {
    apply: ((evalContext: IEvalContext) => Promise<TermExpression>);
    checkArity: ((args: Expression[]) => boolean);
}

Hierarchy (view full)

Implemented by

Properties

Properties

apply: ((evalContext: IEvalContext) => Promise<TermExpression>)
checkArity: ((args: Expression[]) => boolean)

The arity of the function will be checked when parsing and preparing a function. This allows us to check if the query is correct even before we process any bindings.