kotlin-stdlib / kotlin.text / toList toList Common JVM JS Native 1.0 fun CharSequence.toList(): List<Char> Returns a List containing all characters.