interface Derivative {
    $derivative: {
        input: NumberExpression;
        unit?: DateUnit;
    };
}

Properties

Properties

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

Returns the average rate of change within the specified window, which is calculated using the:

Type declaration

  • input: NumberExpression

    Specifies the expression to evaluate. The expression must evaluate to a number.

  • Optional unit?: DateUnit

    A string that specifies the time unit.