plus

operator fun plus(other: Byte): Int(source)
operator fun plus(other: Short): Int(source)
operator fun plus(other: Int): Int(source)
operator fun plus(other: Long): Long(source)
operator fun plus(other: Float): Float(source)
operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.0
operator fun plus(other: Byte): Int(source)
operator fun plus(other: Short): Int(source)
operator fun plus(other: Int): Int(source)
operator fun plus(other: Long): Long(source)
operator fun plus(other: Float): Float(source)
operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.1
inline operator fun plus(other: Byte): Int(source)
inline operator fun plus(other: Short): Int(source)
inline operator fun plus(other: Int): Int(source)
inline operator fun plus(other: Long): Long(source)
inline operator fun plus(other: Float): Float(source)
inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.3
inline operator fun plus(other: Byte): Int(source)
inline operator fun plus(other: Short): Int(source)
inline operator fun plus(other: Int): Int(source)
inline operator fun plus(other: Long): Long(source)
inline operator fun plus(other: Float): Float(source)
inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.8
inline operator fun plus(other: Byte): Int(source)
inline operator fun plus(other: Short): Int(source)
inline operator fun plus(other: Int): Int(source)
inline operator fun plus(other: Long): Long(source)
inline operator fun plus(other: Float): Float(source)
inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.8