text_lint.operations.validators.expressions.exponent.Exponent

class text_lint.operations.validators.expressions.exponent.Exponent[Quellcode]

Bases: ExpressionBase

Apply the exponent to a value of another.

apply(value_a: float, value_b: float) float | bool[Quellcode]

Apply the mathematical operator to these two values.

Rückgabetyp:

float | bool