average

@JvmName("averageOfByte") fun Sequence<Byte>.average(): Double (source)
@JvmName("averageOfShort") fun Sequence<Short>.average(): Double (source)
@JvmName("averageOfInt") fun Sequence<Int>.average(): Double (source)
@JvmName("averageOfLong") fun Sequence<Long>.average(): Double (source)
@JvmName("averageOfFloat") fun Sequence<Float>.average(): Double (source)
@JvmName("averageOfDouble") fun Sequence<Double>.average(): Double (source)

Returns an average value of elements in the sequence.

The operation is terminal.