简单类型 / 布尔
从字符串转换
转换为字符串
获取值
逻辑运算
val
str =
"true"
val
boolValue = str.
toBoolean
()
//boolValue
is
True
println
(
"boolValue
is
$boolValue
"
)