compare
Compares left and right elements.
Return
A ComparisonResult indicating the relative order of the two elements.
Parameters
left
The left element in the comparison.
right
The right element in the comparison.
Compares left and right elements.
A ComparisonResult indicating the relative order of the two elements.
The left element in the comparison.
The right element in the comparison.