Home / Dictionary / Bool

Bool Moderate

Definition, synonyms and related words

Definitions
Noun
1

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.

Verb
1

To relax.

"After hours of intense coding, I need to bool and watch a movie."

Example Sentences
"The programmer added a bool variable to store whether the user was logged in." noun
"The bool variable decided whether the light would turn on or stay off." noun
"She checked the bool setting to ensure her account was active before logging in." noun
"A simple bool check confirmed that the file had been successfully downloaded." noun
Related Terms

Origin

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.

Rhyming Words
ool tool fool hool wool kool nool pool cool sool crool stool skool drool ahool chool spool shool brool snool
Compare
Bool vs