# Data Type - Boolean

### Table of Contents

## 1 - About

A Boolean is a primitive data type and may be implemented with:

- only two state:
- true or false
- 1 or 0

- and an optional third one

It's therefore almost always implemented on a computer level with a bit representation.

The result of a comparison operator is a Boolean.

See also the Boolean Algebra, developed in the 19th century by George Boole.

The boolean algebra is the basis of all operations on bit and is therefore at the core of all computer operations.