布尔变成数字 let a = true a * 1 = 1 let b = false b * 0 = 0 b * 1 = 0 数字变成布尔 let a = 1 !! a = true let b = 0 !! b = false