compareWith

abstract infix fun Element.compareWith(other: Element): ComparisonResult(source)

Compares this and other elements.

Receiver

The left element in the comparison.

Return

A ComparisonResult indicating the relative order of the two elements.

Parameters

other

The right element to compare with this element.