Mojo trait
GreaterThanOrEqualComparable
A type which can be greater than or equal to compared with other instances of itself.
Implemented traits
AnyType
,
UnknownDestructibility
Methods
__ge__
__ge__(self: _Self, rhs: _Self) -> Bool
Define whether self
is greater than or equal to rhs
.
Args:
- rhs (
_Self
): The right hand side of the comparison.
Returns:
True if self
is greater than or equal to rhs
.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!