sumByDouble

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.5") inline fun <T> Array<out T>.sumByDouble(
    selector: (T) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun ByteArray.sumByDouble(
    selector: (Byte) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun ShortArray.sumByDouble(
    selector: (Short) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun IntArray.sumByDouble(
    selector: (Int) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun LongArray.sumByDouble(
    selector: (Long) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun FloatArray.sumByDouble(
    selector: (Float) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun DoubleArray.sumByDouble(
    selector: (Double) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun BooleanArray.sumByDouble(
    selector: (Boolean) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") inline fun CharArray.sumByDouble(
    selector: (Char) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") @ExperimentalUnsignedTypes inline fun UIntArray.sumByDouble(
    selector: (UInt) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") @ExperimentalUnsignedTypes inline fun ULongArray.sumByDouble(
    selector: (ULong) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") @ExperimentalUnsignedTypes inline fun UByteArray.sumByDouble(
    selector: (UByte) -> Double
): Double

(source)
Deprecated: Use sumOf instead.
@DeprecatedSinceKotlin("1.5") @ExperimentalUnsignedTypes inline fun UShortArray.sumByDouble(
    selector: (UShort) -> Double
): Double

(source)
Deprecated: Use sumOf instead.

Returns the sum of all values produced by selector function applied to each element in the array.

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.5") inline fun <T> Iterable<T>.sumByDouble(
    selector: (T) -> Double
): Double

(source)
Deprecated: Use sumOf instead.

Returns the sum of all values produced by selector function applied to each element in the collection.