r = compare(P, a, b)
This method determines if two elements are comparable and further if $a$ is less than or equal to $b$ in $P$.
|
|
|
If two elements are incomparable, then the result is false.
|
The object compare is a method function.