sumByDouble

inline fun CharSequence.sumByDouble(selector: (Char) -> Double): Double(source)

Deprecated

Use sumOf instead.

Replace with

this.sumOf(selector)

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

Since Kotlin

1.0