compareTo

open fun compareTo(rightValue: Number): Int

Return

Compare_Equal
Values are the same
Compare_Less
Left value less the right value
Compare_Greater
Left value greater the right value

Parameters

rightValue

value to compare with

See also