Function EvalBuiltIn

  • 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

    Example

    meta: {
    fn: 'x + 3',
    scope: { y: 3 }
    }
    property: 'fn'
    variables: { x: 3 }

    Returns

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

    Parameters

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

    Returns any

Generated using TypeDoc