interface Integral {
    $integral: {
        input: NumberExpression;
        unit?: DateUnit;
    };
}

Properties

Properties

$integral: {
    input: NumberExpression;
    unit?: DateUnit;
}

Returns the approximation of the area under a curve, which is calculated using the trapezoidal rule where each set of adjacent documents form a trapezoid using the:

Type declaration

  • input: NumberExpression

    Specifies the expression to evaluate. You must provide an expression that returns a number.

  • Optional unit?: DateUnit

    A string that specifies the time unit.