Простые типы / Boolean

val str = "true"
val boolValue = str.toBoolean()
//boolValue is True

println("boolValue is $boolValue")