toChar

open override fun toChar(): Char

Deprecated

Direct conversion to Char is deprecated. Use toInt().toChar() or Char constructor instead. See https://youtrack.jetbrains.com/issue/KT-46465 for details about the migration

Replace with

this.toInt().toChar()