@samatawy/rules
    Preparing search index...

    Interface Evaluator

    interface Evaluator {
        evaluate(context: WorkingContext): any;
    }

    Implemented by

    Index

    Methods

    Methods

    • Evaluate the rule or expression in the given context. Implementations differ in what they perform and return.

      Parameters

      • context: WorkingContext

        the current working context containing data and constants.

      Returns any

      an executor to execute, or the value of the expression based on the context.