text_lint.operations.validators.expressions.exponent.Exponent

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

Bases: ExpressionBase

Apply the exponent to a value of another.

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

Apply the mathematical operator to these two values.

Return type:

float | bool