plus (original) (raw)

expect operator fun plus(other: Byte): Int(source)

expect operator fun plus(other: Short): Int(source)

expect operator fun plus(other: Int): Int(source)

expect operator fun plus(other: Long): Long(source)

expect operator fun plus(other: Float): Float(source)

expect operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.0

actual operator fun plus(other: Byte): Int(source)

actual operator fun plus(other: Short): Int(source)

actual operator fun plus(other: Int): Int(source)

actual operator fun plus(other: Long): Long(source)

actual operator fun plus(other: Float): Float(source)

actual operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.1

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

actual inline operator fun plus(other: Byte): Int(source)

actual inline operator fun plus(other: Short): Int(source)

actual inline operator fun plus(other: Int): Int(source)

actual inline operator fun plus(other: Long): Long(source)

actual inline operator fun plus(other: Float): Float(source)

actual inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.3

actual inline operator fun plus(other: Byte): Int(source)

actual inline operator fun plus(other: Short): Int(source)

actual inline operator fun plus(other: Int): Int(source)

actual inline operator fun plus(other: Long): Long(source)

actual inline operator fun plus(other: Float): Float(source)

actual inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.8

actual inline operator fun plus(other: Byte): Int(source)

actual inline operator fun plus(other: Short): Int(source)

actual inline operator fun plus(other: Int): Int(source)

actual inline operator fun plus(other: Long): Long(source)

actual inline operator fun plus(other: Float): Float(source)

actual inline operator fun plus(other: Double): Double(source)

Adds the other value to this value.

Since Kotlin

1.8