grapes-less-than-equals-greater-than-grapes.Rd
A three-way comparison takes two values A and B determines whether A < B, A = B, or A > B in a single operation.
lhs %<=>% rhs
lhs | Left hand side operator |
---|---|
rhs | Rand hand side operator |
Greater value or zero if equal.
1 %<=>% 2#> [1] 22 %<=>% 1#> [1] 23 %<=>% 3#> [1] 0