sumOf

Common
JVM
JS
Native
1.4
@JvmName("sumOfDouble") inline fun CharSequence.sumOf(
    selector: (Char) -> Double
): Double
Common
JVM
JS
Native
1.4
@JvmName("sumOfInt") inline fun CharSequence.sumOf(
    selector: (Char) -> Int
): Int
Common
JVM
JS
Native
1.4
@JvmName("sumOfLong") inline fun CharSequence.sumOf(
    selector: (Char) -> Long
): Long
Common
JVM
JS
Native
1.4
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun CharSequence.sumOf(
    selector: (Char) -> UInt
): UInt
Common
JVM
JS
Native
1.4
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun CharSequence.sumOf(
    selector: (Char) -> ULong
): ULong
JVM
1.4
@JvmName("sumOfBigDecimal") inline fun CharSequence.sumOf(
    selector: (Char) -> BigDecimal
): BigDecimal
JVM
1.4
@JvmName("sumOfBigInteger") inline fun CharSequence.sumOf(
    selector: (Char) -> BigInteger
): BigInteger

Returns the sum of all values produced by selector function applied to each character in the char sequence.