However, in most cases you do not need to use the cast, since a value will be automatically converted if an operator, function or control structure requires a boolean argument.

 
  • 但是很多情况下不需要用强制转换,因为当运算符,函数或者流程控制需要一个boolean参数时,该值会被自动转换。
今日热词
目录 附录 查词历史