Data Type - Boolean

> (Data|State) Management and Processing > (Data Type|Data Structure) > Data Type - Boolean

Table of Contents

1 - About

A Boolean is a primitive data type and has only two state:

  • true or false
  • 1 or 0

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.