bool
- adjective
- /buːl/
- Specialized
- In programming, a bool value can only be true or false.
Examples
-
For example, I have world to bool functions.
-
Obvious ones is face up bool equals false.
-
I mean, I've always said that the idea of just using bool for propositions doesn't really scale so well.
-
You need to declare a variable as a bool if you want it to represent a binary state.
-
The function returns a bool that indicates whether the input is valid.
Synonyms
A kind of logic using values that are only true or false
Antonyms
Surface Forms
Etymology
The word bool comes from the name of the mathematician George Boole, whose work gave us the term Boolean. He made a system where things are only 'true' or 'false', so bool means 'having only those two states'.