equals

open fun equals(o: Any): Boolean

Compares this range to the specified object. The result is true if and only if the argument is a Range with the same start position and length.

Return

true if the given object represents a range equivalent to this range, false otherwise.

Parameters

o

The object to compare this range against.