Definition, synonyms and related words
A Boolean variable, one whose value is either true or false.
"The programmer declared a bool to store whether the user had successfully logged in."
"The programmer added a bool variable to store whether the user was logged in."
Usage: Use this term to refer specifically to a data type that holds only two possible values: true or false. It distinguishes logical states from other numeric or text-based variables in programming contexts.
To relax.
"After hours of intense coding, I need to bool and watch a movie."
The word bool is an abbreviation of Boolean that entered English as a specific keyword in the C++ programming language. It was adopted by other derived programming languages to represent true or false values.