Constructors

Methods

  • We return the base types and not the provided types because we don't want to create invalid terms. Providing negative number to a function unary - for example should not return a term of type negative number having a positive value.

    Parameters

    • op: (expressionEvaluator: IInternalEvaluator) => (val: number) => number

      the numeric operator performed

    • addInvalidHandling: boolean = true

      whether to add invalid handling, whether to add

    Returns Builder

    wrapInvalidLexicalProtected