Variable $eval

$eval: {
    builtIn: ((meta: any, property: any, variables: any) => any);
    interval: ((meta: any, property: any, variables: any) => any);
}

Type declaration

  • builtIn: ((meta: any, property: any, variables: any) => any)
      • (meta: any, property: any, variables: any): any
      • Evaluates meta[property] with variables

        • Compiles meta[property] if it wasn't compiled already (also with cache check)
        • Evaluates the resulting function with the merge of meta.scope and variables

        Returns

        The builtIn evaluator returns a number, the interval evaluator an array

        Parameters

        • meta: any
        • property: any
        • variables: any

        Returns any

  • interval: ((meta: any, property: any, variables: any) => any)
      • (meta: any, property: any, variables: any): any
      • Evaluates meta[property] with variables

        • Compiles meta[property] if it wasn't compiled already (also with cache check)
        • Evaluates the resulting function with the merge of meta.scope and variables

        Returns

        The builtIn evaluator returns a number, the interval evaluator an array

        Parameters

        • meta: any
        • property: any
        • variables: any

        Returns any

Generated using TypeDoc