Skip to main content
bool

bool

7.2
Used for values that can be only true or false
  • adjective
  • /buːl/
  • Specialized
translation icon : booleano
  • 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

Boolean
vsbool
  • Specialized
1 7.0

A kind of logic using values that are only true or false

focuses on values that have only two states such as true or false

Antonyms

indeterminate
  • Specialized
1 8.1

Having no single definite value in a calculation

Surface Forms

bool positive

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'.