isISOControl

Returns true if this character is an ISO control character.

expect fun Char.isISOControl(): Boolean(source)
fun main() {
    val testChars = listOf('A', '\u0001', '\n', 'Z')
    for (c in testChars) {
        println("Character '${c}' is ISO control: ${c.isISOControl()}")
    }
}

Source