sumOf

Common
JVM
JS
Native
1.4
@JvmName("sumOfDouble") inline fun CharSequence.sumOf(
    selector: (Char) -> Double
): Double

(source)
Common
JVM
JS
Native
1.4
@JvmName("sumOfInt") inline fun CharSequence.sumOf(
    selector: (Char) -> Int
): Int

(source)
Common
JVM
JS
Native
1.4
@JvmName("sumOfLong") inline fun CharSequence.sumOf(
    selector: (Char) -> Long
): Long

(source)
Common
JVM
JS
Native
1.5
@JvmName("sumOfUInt") inline fun CharSequence.sumOf(
    selector: (Char) -> UInt
): UInt

(source)
Common
JVM
JS
Native
1.5
@JvmName("sumOfULong") inline fun CharSequence.sumOf(
    selector: (Char) -> ULong
): ULong

(source)
JVM
1.4
@JvmName("sumOfBigDecimal") inline fun CharSequence.sumOf(
    selector: (Char) -> BigDecimal
): BigDecimal

(source)
JVM
1.4
@JvmName("sumOfBigInteger") inline fun CharSequence.sumOf(
    selector: (Char) -> BigInteger
): BigInteger

(source)

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