plus

actual operator fun <T> Array<T>.plus(element: T): Array<T>(source)
actual operator fun ByteArray.plus(element: Byte): ByteArray(source)
actual operator fun ShortArray.plus(element: Short): ShortArray(source)
actual operator fun IntArray.plus(element: Int): IntArray(source)
actual operator fun LongArray.plus(element: Long): LongArray(source)
actual operator fun FloatArray.plus(element: Float): FloatArray(source)
actual operator fun DoubleArray.plus(element: Double): DoubleArray(source)
actual operator fun BooleanArray.plus(element: Boolean): BooleanArray(source)
actual operator fun CharArray.plus(element: Char): CharArray(source)

Returns an array containing all elements of the original array and then the given element.

Since Kotlin

1.0

actual operator fun <T> Array<T>.plus(elements: Collection<T>): Array<T>(source)
actual operator fun ByteArray.plus(elements: Collection<Byte>): ByteArray(source)
actual operator fun ShortArray.plus(elements: Collection<Short>): ShortArray(source)
actual operator fun IntArray.plus(elements: Collection<Int>): IntArray(source)
actual operator fun LongArray.plus(elements: Collection<Long>): LongArray(source)
actual operator fun FloatArray.plus(elements: Collection<Float>): FloatArray(source)
actual operator fun DoubleArray.plus(elements: Collection<Double>): DoubleArray(source)
actual operator fun BooleanArray.plus(elements: Collection<Boolean>): BooleanArray(source)
actual operator fun CharArray.plus(elements: Collection<Char>): CharArray(source)

Returns an array containing all elements of the original array and then all elements of the given elements collection.

Since Kotlin

1.0

actual operator fun <T> Array<T>.plus(elements: Array<out T>): Array<T>(source)
actual operator fun ByteArray.plus(elements: ByteArray): ByteArray(source)
actual operator fun ShortArray.plus(elements: ShortArray): ShortArray(source)
actual operator fun IntArray.plus(elements: IntArray): IntArray(source)
actual operator fun LongArray.plus(elements: LongArray): LongArray(source)
actual operator fun FloatArray.plus(elements: FloatArray): FloatArray(source)
actual operator fun DoubleArray.plus(elements: DoubleArray): DoubleArray(source)
actual operator fun BooleanArray.plus(elements: BooleanArray): BooleanArray(source)
actual operator fun CharArray.plus(elements: CharArray): CharArray(source)

Returns an array containing all elements of the original array and then all elements of the given elements array.

Since Kotlin

1.0