kotlin.ranges.IntRange.equals

equals

fun equals(other: Any?): Boolean

Overrides IntProgression.equals

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

  • Reflexive: for any non-null reference value x, x.equals(x) should return true.
  • Symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • Transitive: for any non-null reference values x, y, and z, if x.equals(y) returns tr