kotlin-stdlib / kotlin / Byte / rangeTo rangeTo Common JVM JS Native 1.0 operator fun rangeTo(other: Byte): IntRange(Common source) (JS source) (Native source) operator fun rangeTo(other: Short): IntRange(Common source) (JS source) (Native source) operator fun rangeTo(other: Int): IntRange(Common source) (JS source) (Native source) operator fun rangeTo(other: Long): LongRange(Common source) (JS source) (Native source) Creates a range from this value to the specified other value.