text_lint.operations.validators.expressions.less_than_or_equal.LessThanOrEqual

class text_lint.operations.validators.expressions.less_than_or_equal.LessThanOrEqual[source]

Bases: ExpressionBase

Evaluate one value being less than or equal to another.

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

Apply the mathematical operator to these two values.

Return type:

float | bool