Comparator ¶
Comparison operators used to define constraints.
This enum represents the logical relation between the left-hand side (LHS) and the right-hand side (RHS) of a [Constraint].
Attributes:
| Name | Type | Description |
|---|---|---|
Eq |
Comparator
|
Equality constraint (==). |
Le |
Comparator
|
Less-than-or-equal constraint (<=). |
Ge |
Comparator
|
Greater-than-or-equal constraint (>=). |
Examples:
Eq
class-attribute
¶
Comparison operators used to define constraints.
This enum represents the logical relation between the left-hand side (LHS) and the right-hand side (RHS) of a [Constraint].
Attributes:
| Name | Type | Description |
|---|---|---|
Eq |
Comparator
|
Equality constraint (==). |
Le |
Comparator
|
Less-than-or-equal constraint (<=). |
Ge |
Comparator
|
Greater-than-or-equal constraint (>=). |
Examples:
Ge
class-attribute
¶
Comparison operators used to define constraints.
This enum represents the logical relation between the left-hand side (LHS) and the right-hand side (RHS) of a [Constraint].
Attributes:
| Name | Type | Description |
|---|---|---|
Eq |
Comparator
|
Equality constraint (==). |
Le |
Comparator
|
Less-than-or-equal constraint (<=). |
Ge |
Comparator
|
Greater-than-or-equal constraint (>=). |
Examples:
Le
class-attribute
¶
Comparison operators used to define constraints.
This enum represents the logical relation between the left-hand side (LHS) and the right-hand side (RHS) of a [Constraint].
Attributes:
| Name | Type | Description |
|---|---|---|
Eq |
Comparator
|
Equality constraint (==). |
Le |
Comparator
|
Less-than-or-equal constraint (<=). |
Ge |
Comparator
|
Greater-than-or-equal constraint (>=). |
Examples: