boolean value
常见例句
- Also note that the methods do not return boolean values.
还要注意这些方法 不返回布尔值。 - Boolean values can take either of two truth values: Yes, True, and 1 are synonyms, as are No, False, and 0.
Boolean 值可取以下两种真值:Yes、True 和 1 是同义词,No、False 和 0 是同义词。 - The hasPrev() and hasNext() methods return Boolean values telling us whether there are elements preceding or following the current item, or whether we have reached the beginning or end of the stack.
hasPrev() 和 hasNext() 方法返回 Boolean 值,告诉我们当前记录之前或之后是否还有记录,或者指示我们到达了堆栈顶部或堆栈尾部。 - So even though we think of conditions as being Boolean values true or false, really underneath the hood true means anything other than zero.
即使我们考虑,布尔值的真假条件,在底层“真“表示非零。
哈佛公开课 - 计算机科学课程节选 返回 boolean value