@JvmName("sumOfDouble") inline fun CharSequence.sumOf( selector: (Char) -> Double ): Double
@JvmName("sumOfInt") inline fun CharSequence.sumOf( selector: (Char) -> Int ): Int
@JvmName("sumOfLong") inline fun CharSequence.sumOf( selector: (Char) -> Long ): Long
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun CharSequence.sumOf( selector: (Char) -> UInt ): UInt
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun CharSequence.sumOf( selector: (Char) -> ULong ): ULong
@JvmName("sumOfBigDecimal") inline fun CharSequence.sumOf( selector: (Char) -> BigDecimal ): BigDecimal
@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.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/sum-of.html