text_lint.operations.validators.expressions.less_than.LessThan

class text_lint.operations.validators.expressions.less_than.LessThan[source]

Bases: ExpressionBase

Evaluate one value being less than another.

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

Apply the mathematical operator to these two values.

Return type:

float | bool