isBefore

open fun isBefore(position: Position): Boolean(source)

Return

True if the end of this range is before (but not equal to) the given position to compare against.

Parameters

position

The position to compare against.


open fun isBefore(other: Range): Boolean(source)

Return

True if the end of this range is before (but not equal to) the given position to compare against.

Parameters

other

The range to compare against.