官方的定义是这样的:
boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false conditions. This data type represents one bit of information, but its "size" isn‘t something that‘s precisely defined.
原文:https://www.cnblogs.com/jzl123/p/12009923.html