Skip to content

capturegraph.procedures.nodes.automatic.operators.number #

NumberLessThan #

Bases: Procedure[PBool]

Comparison operator that checks if left number is less than right number.

Performs numerical comparison and returns true if the left operand is strictly less than the right operand.

Attributes:

Name Type Description
left Procedure[PNumber]

The left numeric operand

right Procedure[PNumber]

The right numeric operand

Source code in capturegraph-lib/capturegraph/procedures/nodes/automatic/operators/number.py
@make_procedure
class NumberLessThan(Procedure[PBool]):
    """
    Comparison operator that checks if left number is less than right number.

    Performs numerical comparison and returns true if the left operand
    is strictly less than the right operand.

    Attributes:
        left (Procedure[PNumber]): The left numeric operand
        right (Procedure[PNumber]): The right numeric operand
    """

    left: Procedure[PNumber]
    right: Procedure[PNumber]