Tag: 布尔表达式

Kotlin简化布尔表达式

为什么我会在我的if条件行中得到一个说"Simplify boolean expression"的小错误? 例如这段代码: if (isClear==true){ displayText.setText("") }