Skip to main content

Boolean

Programming

A data type with two possible values: true or false.

A Boolean represents a logical value, either true or false. Booleans are produced by comparison and logical operators and drive control flow such as if-statements and loops. The type is named after mathematician George Boole.

← Back to full glossary